Fwd: Re: [imp] Warning: unknown encoding "BIG5" in /usr/local/apache/horde.beta/lib/String.php on line 155

Jan Schneider jan at horde.org
Thu Jan 9 12:10:00 PST 2003


Quoting alex <alex at thbuo.gov.tw>:

> Yes uptodate.
> These message just bounce to u .
> 
> Alex
> 
> 引用 Jan Schneider <jan at horde.org>:
> 
> > Hm, looks like the strings get encoded twice. Are your Horde _and_ IMP
> > uptodate?
> >
> > Can you perhaps bounce me one of these messages? I can't read them
> anyway.
> > ;-)
> >
> > ----- Weitergeleitete Nachricht von alex at thbuo.gov.tw -----
> >     Datum: Wed,  8 Jan 2003 17:01:49 +0800
> >     Von: alex <alex at thbuo.gov.tw>
> > Antwort an: alex <alex at thbuo.gov.tw>
> >  Betreff: Re: [imp] Warning: unknown encoding "BIG5" in
> > /usr/local/apache/horde.beta/lib/String.php on line 155
> >       An: Jan Schneider <jan at horde.org>
> >
> > Still not work. see http://www.thbuo.gov.tw/~txg16/menu.jpg
> >
> > Alex
> >
> > Quoting Jan Schneider <jan at horde.org>:
> >
> > > Zitat von alex <alex at thbuo.gov.tw>:
> > >
> > > > Hi all:
> > > > I am a Chinese user in Head,today i got warning message when
> opening
> > > > mailbox
> > > > folder:
> > > >
> > > > Warning: unknown encoding "BIG5" in
> > > > /usr/local/apache/horde.beta/lib/String.php
> > > > on line 155
> > > >
> > > >    or see http://webmail.thbuo.gov.tw/~txg16/string.jpg
> > > >
> > > > I using php 4.2.2 --with-iconv --enable-mbstring
> > > > Here are my setting about mbstring in php.ini
> > > > [mbstring]
> > > > mbstring.internal_encoding = BIG5
> > > > ;mbstring.http_input = auto
> > > > ;mbstring.http_output = BIG5
> > > > ;mbstring.detect_order = auto
> > > > ;mbstring.substitute_character = none;
> > > > mbstring.func_overload = 7
> > >
> > > Try enabling utf-8 support in nls.php and setting
> > mbstring.internal_encoding
> > > to UTF-8 or better commenting it completely out.
> > > func_overload will hopefully be not necessary any more in the future,
> but I
> > > still have to overload all the string functions manually.
> > >
> > > Jan.

This is from the PHP manual:

 As of PHP 4.3.0, the following character encoding support will be added
experimentaly : EUC-CN, CP936, HZ, EUC-TW, CP950, BIG-5, EUC-KR, UHC
(CP949), ISO-2022-KR, Windows-1251 (CP1251), Windows-1252 (CP1252), CP866,
KOI8-R.

That means that you should upgrade to PHP 4.3.0 if you want to have full
support for Big5 charsets.

I'll silence the warning so that at least it doesn't appear in the mailbox view.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the imp mailing list