Re: [Campsite Support] Messing with UTF-8 and ISO-8859-1

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [Campsite Support] Messing with UTF-8 and ISO-8859-1

by Mugur Rus-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please make sure your apache server does not force the character set to ISO-8859-1. Go to campsite login page and read the page info (Tools->Page Info in Firefox). The encoding must be UTF-8 (see attached screenshot).

If the page encoding was ISO then it's simple:
- change apache config to force UTF-8; add the following line to the apache config:
AddDefaultCharset UTF-8
- restart apache
- backup the site; run:
[campsite_dir]/bin/campsite-backup
- convert the database content from ISO to UTF-8:
[campsite_dir]/bin/campsite-utf8-converter --charset=ISO-8859-1


Mugur

On Fri, Nov 6, 2009 at 12:44 PM, <phorum@...> wrote:
Author: Terix
Link:  http://code.campware.org/phorum/read.php?8,7760,7760#msg-7760
--------------------------------------------------------------------------------

Hi everybody,

thanks a lot for all the answer that you are giving to me!
Today i have a new question... i have a lot of accented characters, like à,ò,è,ù, and the browsers of my nation (italy) are set to ISO-8859-1, on the article body i see that with this characted code, they appear alle messed up, but they appear well on navigation menù. If i set up UTF-8 on my browser, the accented letters on the navigation menù are messed, but i see clearly them on the article body...

how do i fix this?

--
Sent from Campware Forums
http://code.campware.org/phorum



charset.png (81K) Download Attachment