From the DB I get the text correctly.
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
This is a good question.... I have to check it.
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@xxxxxxxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Friday, February 17, 2006 11:05 AM
Subject: 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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php