[kronolith] Re: Nordic letters are shown as chineese signs (partialy )

Chuck Hagenbuch chuck at horde.org
Mon Mar 15 13:53:50 PST 2004


Quoting Nikolaj Steensgaard <nikolaj at steensgaard.net>:

> im a bit lost now... probably cause i dont understand why it convert the
> signs.

Because the Location is output through htmlspecialchars(), while the 
description
is output through Text::toHtml(), which calls htmlspecialchars($string,
ENT_QUOTES, $charset) - in other words, you probably have a charset set which
isn't quite right, and passing that charset to htmlspecialchars causes the
problem.

I'm not sure what to do about this, but that's the difference between the two
fields.

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez


More information about the kronolith mailing list