Re: [PHP] German characters Ö,Ä etc. show up as ?

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

 



On Thu, Feb 5, 2009 at 7:37 AM, Merlin Morgenstern <merlin_x@xxxxxxxxxxx> wrote:
> Hi there,
>
> I recently upgraded on my prod system from php 4.x to the newest php
> version. Now german characters lik "Ö" show up as ?. I have the same setup
> running on a test server, where the characters show up OK. After searching
> on Google I found that there is an entry in the php.ini:
> default_charset = "iso-8859-1" which could help me, however this is not set
> in the test environment! How come? Is there another way to fix this?
>
> Kind regards,Merlin
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

header('Content-Type: text/html; charset=utf-8');

You might want to get with the current century and consider utf8! :D
I'll leave you to your own devices on regressing that.

-- 
http://www.voom.me | EFnet: #voom

-- 
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