|
From: Tomas K. <to...@us...> - 2006-07-13 05:41:28
|
>> > >> > I have tried with both Squirrelmail 1.4.5 and 5.1 to create >> > >> folders with >> > >> > Chinese names. Version 1.4.5 tells me that the name given >> > >> is invalid and >> > >> > shows it as ???? Version 1.5.1 does better in that it >> > >> creates a folder >> > >> > but when it displays it shows charcters that I don't know >> > >> how to type in >> > >> > my e-mail (i.e., A with a circle on top). >> > >> > >> > >> > I want to try to accomplish two things: >> > >> > >> > >> > 1. Create any folder using a name comprised of Chinese >> > characters. >> > >> > 2. Be able to rename the default folders for Drafts, >> > >> Deleted Items and >> > >> > Sent Items to their simplified Chinese translations. >> > >> > >> > >> > I have seen posts that appear similar to mine but they are >> > >> from many years >> > >> > ago and the things that I understand to try from them don't >> > >> appear to be >> > >> > working for me. >> > >> > >> > >> > Where do I start in getting this working? What better >> > >> information can I >> > >> > provide to help you in assisting me. >> > >> >> > >> Missing information: >> > >> * Translation selected by end user >> > >> * Default character setting from SquirrelMail conf.pl utility 10. >> > >> Languages menu section. >> > >> * PHP version, PHP mbstring extension settings and >> > compilation options >> > >> * Used browser >> > > >> > > Tomas, >> > > >> > > Thanks for the fast reply. >> > > >> > > Here are my answers: >> > > >> > > Translation selected by end user: Simplified Chinese >> > > Default character setting from SquirrelMail conf.pl: iso-8859-1 >> > > PHP version: 5.1.2 compiled with >> > > >> > > './configure' '--with-apxs' >> > > '--with-mysql=../mysql-standard-4.0.24-apple-darwin7.7.0-powerpc' >> > > '--with-xml-dir=/Users/doug/install/php5/libxml' >> > > '--with-mcrypt=/usr/local' >> > > '--with-curl=/usr/local' '--with-mhash=/usr/local' '--with-gd' >> > > '--with-zlib' >> > > '--with-libjpeg=/usr/local' '--with-libtiff=/usr/local' >> > > '--with-libpng=/usr/local' '--with-jpeg-dir=/usr/local' >> > > '--enable-simplexml' >> > > '--with-iconv' '--with-gettext' '--with-ldap' >> > >> > Could you add '--enable-mbstring' compilation option? >> >> I will attempt that and report back the results. > > Adding --enable-mbstring and making sure that I was currently using the > Simplified Chinese user interface fixed the problem. I think this applies only to SquirrelMail 1.5.1. SquirrelMail 1.4.7 does not detect mbstring gb2312 support. Check functions/imap_utf7_local.php. GB2312 charset is supported only in PHP 4.3.0 mbstring extension. SquirrelMail 1.4.7 follows PHP 4.0.6 requirements and uses only iso-8859-x, utf-8 and iso-2022-jp character sets. You can also use Chinese folder names in US English translation, if default_charset option is set to gb2312 or utf-8. -- Tomas |