Menu

#3 Unicode problem on dynamic page; "utf8" should be "utf-8"

open
nobody
None
5
2009-01-28
2009-01-28
No

The new dyanmic page is cool, but has Unicode problems. E.g. see:
http://friendless.servegame.org/dynamic/result/russ
which lists "Formuła 1" as "Formu&#322a 1".
(In case that doesn't display right: the expect text uses the Polish ł l-with-slash, and the displayed text is with the HTML entity & # 322.)

In contrast, the same game title is displayed fine on my main not-so-dynamic page http://friendless.servegame.org/stats/result_russ.html

Looking at the HTML source, I see both pages have UTF-8:
meta http-equiv="Content-Type" content="text/html; charset=utf8"
So the ł character is somehow being corrupted earlier in the process.

Possibly however it's related to the declaration incorrectly saying "utf8" when officially it SHOULD be "utf-8" (with a hyphen), e.g. see
http://www.utf-8.com/
Or observe that http://validator.w3.org/ complains about "utf8" as well.

Discussion


Log in to post a comment.