[dev] iconv and mbstring

Chuck Hagenbuch chuck at horde.org
Sat Jul 26 06:12:02 PDT 2003


Quoting Jan Schneider <jan at horde.org>:

> > this
> > error message:
> > [26-Jul-2003 15:06:42] PHP Notice:  iconv(): Wrong charset, cannot
> > convert from
> > `UTF7-IMAP' to `ISO-8859-1//TRANSLIT' in
> > i:\httpd\clean\horde\lib\String.php on
> > line 92
> >
> > Is this something specific to me, windows or just bad luck?
>
> This is correct because iconv doesn't know about utf7-imap, only mbstring.
> Thus all folder name conversions in IMP will be done by mbstring (if
> available) and most of the message conversions will be done by iconv (if
> available).

Is there any way we could code hints into String.php to know not to try iconv
for these charsets, or to pass a hint to the convertCharset() function to not
try iconv?

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
They're just looking at a wall of meat.


More information about the dev mailing list