[Fwd: Re: Character set problems]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Forwarding back to the list, since I'm one of those evil people that
uses HTML to write email :)

-------- Original Message --------

Robert Cummings wrote:
<snip>
>> So, based on the headers I'm using, and the myphpAdmin settings, is there something I'm missing?  I guess I was assuming since the headers are set for utf-8, and the "MySQL charset = UTF-8 Unicode (utf8)", that everything would be compatible.
>>     
>
> Do you have this in your php.ini?
>
>     default_charset = "utf-8"
>
> Or if you want... the following in a .htaccess or virtual host config:
>
>     php_value default_charset utf-8
>
> You can even manually output it from within your PHP code:
>
>     header( 'Content-Type: text/html; charset=utf-8' );
>
> Cheers,
> Rob.
>   
This will fix it in PHP, but may not fix it for any .html file that's on
the server -- even with the appropriate meta tags, check apache's
'AddDefaultCharset' setting too.

Regards,
Ryan Yagatich

-- 
Pantek, Inc. - http://www.pantek.com/ - info@xxxxxxxxxx
+1-877-LINUX-FIX - Expert Open Source Technical Support


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux