On Fri, May 17, 2002 at 08:09:20PM +1200, martin langhoff wrote:
> - Asgard and Old Admin display content incorrectly. Why? Because they 
> use midgard's own content filters.
> 
> In testing, we've discovered that calling midgard's own content filters 
> has the exact same (undesired) effects as calling htmlentities() with 
> the default encoding of ISO-8859-1 (see 
> http://www.php.net/manual/en/function.htmlentities.php). Calling 
> htmlentities using htmlentities($article->title, ENT_QUOTES, 'UTF-8') 
> gives the correct result every time. As you can imagine, I do not want 
> to search/replace over Asgard/OldAdmin, brute-forcing them into unicode 
> friendliness...
Use 
        MidgardParser russian
in Apache's config. It will switch content filters to ones without
escaping of entities.

-- 
/ Alexander Bokovoy
Software architect and analyst             // SaM-Solutions Ltd.
---
Another such victory over the Romans, and we are undone.
                -- Pyrrhus

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to