Fwd: Re: [i18n] cannot display Chinese language(zh_TW)

Jan Schneider jan at horde.org
Sat Jul 5 10:22:00 PDT 2003



----- Weitergeleitete Nachricht von cwyeh at pest.yichi.org -----
    Datum: Sun, 6 Jul 2003 01:12:01 +0800 (CST)
    Von: Chih-Wei Yeh <cwyeh at pest.yichi.org>
Antwort an: Chih-Wei Yeh <cwyeh at pest.yichi.org>
 Betreff: Re: [i18n] cannot display Chinese language(zh_TW)
      An: Jan Schneider <jan at horde.org>

On Fri, 4 Jul 2003, Jan Schneider wrote:
> Zitat von herryyip at net-yan.com:
> > i use imap3.0 Chinese could not appear in the webmail, it displays all
> > question marks (?????). Before upgrade, Chinese could be seen. Anyone
> > know how to solve this problem, Thanks !
> There is no imap 3.0. Please tell us exactly what version use and where
you
> did upgrade from.

  I think he meant IMP 3.0.

  There're three work around solution for this problem by now.

  1) enable UTF-8 support in horde/config/nls.php. The side-effect is,
     if the mail doesn't contain enough information for its own encoding,
     the mail would not be able to display in correct format.

  2) disable & lock $_prefs['widget_accesskey'] in horde/config/prefs.php,
     However, for some modules which support accesskey function without
     checking this preference value, such as CVS version of IMP and
     kronolith, this doesn't work.

  3) dirty hack to horde/lib/NLS.php. Modify function getCharset in the
     line "$lang_charset = setlocale(LC_ALL, 0);". Make it into
          "$lang_charset = setlocale(LC_ALL, "zh_TW");"
     This is not a good way to patch this problem but it works.
     If your system doesn't serve for people in other language, this could
     be a temporary solution.


--
Chih-Wei Yeh



----- Ende der weitergeleiteten Nachricht -----


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 i18n mailing list