Re: Re: umlaut problem in firefox

From: Date: Wed, 15 Mar 2006 08:17:40 +0000
Subject: Re: Re: umlaut problem in firefox
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-231925@lists.php.net to get a copy of this message
My problem still remains open!!!! Help!!! I noticed that if the umlauts are received correctly but they are not submitted in the right way. For a ö I receive a POST as: ö From the DB I get the text correctly. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> The DB encoding is : iso-8859-1. Now, the strange thing is that is does not appear ALWAYS and only sometimes and only in firefox. So.. I cannot really reproduce the error every time.... which is hard to debug. Regards. ----- Original Message ----- From: "Barry" <barry@Flyerheaven.de> To: <php-general@lists.php.net> Sent: Friday, February 17, 2006 11:05 AM Subject: [PHP] Re: umlaut problem in firefox
Andy wrote:
Hi to all, I just reinstalled one of our servers last week, and I am noticing a wierd problem. On the old one was php4 running. Suse 9.1 OS. Everything worked very well. On the new one Suse 10. Php5. Only with firefox (sometimes and not always!!!!) and only on some computers the umlauts öäüüü characters are not displayed correctly and they are not submitted correctly to the system. Since then we have some strange problems with our application. Example: S�dbrookmerland instead of Südbrookmerland It seems like an encoding problem, but I really didn't figure it out untill now. Any ideeas??? Best Regards, Andy.
This looks like a problem with your encoding. Have you added this to your HTML header? <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> Do you get the Text out of the database? How is it encoded? Also you can use recode() to recode a string. http://de3.php.net/manual/en/function.recode-string.php Greets Barry -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#231925) next »