[imp] Subject encoding issue

Michael M Slusarz slusarz at horde.org
Sat May 15 17:58:58 UTC 2010


Quoting qmail at top-consulting.net:

> I'm still unsure as to what issue #1 is and it still remains but I  
> did make headway with issue #2.
>
> I tracked down the problem to Horde/Text.php in the function  
> htmlSpaces(). More precisely, this line:
>
> $charset = NLS::getCharset();
>
> NLS::getCharset always returned UTF-8 even though my subject was  
> encoded in ISO-8859-1.

UTF-8 is the correct return.  NLS::getCharset() returns the charset  
used by the *server*, which these days in 99.9% of the cases is UTF-8.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]




More information about the imp mailing list