RE: [PHP-I18N] Accented characters

From: Date: Thu, 18 Nov 2004 23:14:34 +0000
Subject: RE: [PHP-I18N] Accented characters
References: 1 2  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-799@lists.php.net to get a copy of this message
Tex Texin wrote: > So Steve, I agree with Christophe's diagnosis, and would suggest that > probably you are seeing multiple jumbled chars, because the page contains > utf-8 and is being decoded as iso 8859-1. Tell your browser to use utf-8. > If that fixes the display, then tell your server the page is utf-8 and/or > set the meta http-equiv statement in the <head> section of the html that > the charset is utf-8, instead of iso8859-1. I think this might be it. Why these chars are utf-8 is beyond me (hell, I'm no programmer - I make my living writing & shooting pictures). Why these pages appear correct when delivered by my shared hosting (these pages are iso-8859-1) but not when served by my local system is baffling to me. Is this to do with Apache settings? I've now changed a page to UTF-8, as in: <meta http-equiv="content-type" content="text/html;charset=UTF-8"> But my browsers are insisting on viewing as iso-8859-1 unless I manually select utf-8. I have Firefox set to auto-detect->universal and have even set the default to UTF-8 under preferences. I tried with IE from my Windows box - same deal. Uh ... time for bed. -- @+ Steve

« previous php.i18n (#799) next »