Re: Language Support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi,
>
> I wrote to the list last month about enabling squirrelmail to view
> emails that were composed in other languages. Some languages, such as
> Russian, display properly, while others, such as Chinese, do not. Thomas
> Kuliavas provided some helpful info:
>
> 1) Our OS needs to have CJK font support. Our OS already seems to
> support this since we recently tested Horde and messages composed in
> Chinese displayed properly.
>
> 2) Squirrelmail doesn't support CJK characters by default -- an
> additional decoding library needs to be installed. We went ahead and
> installed squirrelmail-decode-1.1 which I noticed placed a number of
> additional php files in the functions/decode directory. Messages
> composed in Chinese, however, still do not display properly -- the
> characters are all "junk."
>
> One mail I received has the following Content-Type listed in the header:
> 'text/plain;charset="GB2312"' I notice that a gb2312.php script is
> present in the functions/decode/ directory, though. Does anyone have any
> idea why these messages aren't showing up with Chinese characters?

Decoding library requires PHP recode, iconv or mbstring extension. Please
check your PHP installation. If you don't have these extensions, gb2312
decoding can be turned on with some SquirrelMail configuration variable,
but I recommend keeping $aggressive_decoding switched off and upgrading
your PHP installation. Aggressive decoding code is not designed to be used
on production systems. It is more like "we can do that in pure PHP and we
will toast your server while doing that".

Please provide more information about used PHP and SquirrelMail versions,
PHP ./configure line and selected SquirrelMail translation. Please
understand that people can't help you, if you only complain that things
are not working and don't provide any information about your setup.

-- 
Tomas

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
squirrelmail-users mailing list
Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux