Re: Problems with recoding while squirrelmail output charset is utf-8
Paul Lesniewski <[email protected]> Mon, 12 Aug 2013 11:42:02 -0700
| Newsgroups | gmane.mail.squirrelmail.internationalization |
|---|---|
| Message-ID | <CAHog116e-3cq9oi_2oy8CxnUw5Cne11HpJYF9B+RE=avRZZrTQ@mail.gmail.com> |
On Wed, Aug 7, 2013 at 9:17 AM, Peter V=E1gner <[email protected]> wr= ote: > Hello, > I am on debian wheezy and. I have set squirrelmail to english with default > character set iso-8859-1. It works fine. However when I login to > squirrelmail, change the squirrelmail language to something else handling= of > emails breaks. For example many of my users are likelly to use slovak > language which sets squirrelmail language to slovak and encoding to utf-8. > After changing squirrelmail language to slovak I am unable to read messag= es, > display names and other fields when there are some non ascii characters > inside and the email is not utf-8 encoded. It appears as the field where > such content should appears becomes blank. Usually emails contain both te= xt > only and html parts. This happens after I change to any language where > corresponding character set is utf-8. Thanks for the detailed report. Can you please provide a sample message? You are using version 1.4.23-SVN - a *recent* snapshot? If so, can you try with the following patch on top of the snapshot? http://sourceforge.net/p/squirrelmail/bugs/_discuss/thread/feebafb3/4a28/at= tachment/quoted_printable_fix-1.4.x-version_2.diff > Below are some details. > > > Packages: > postfix 2.9.6-2 amd64 > dovecot-imapd 1:2.1.7-7 amd64 > apache2 2.2.22-13 amd64 > php5 5.4.4-14+deb all > squirrelmail 2:1.4.23~svn all > squirrelmail-locales 1.4.18-20090 all > squirrelmail-viewashtml 3.8-3 all > > # locale -a > C > C.UTF-8 > POSIX > en_US.utf8 > sk_SK > sk_SK.cp1250 > sk_SK.iso88592 > sk_SK.utf8 > slovak > > > # squirrelmail configuration > $squirrelmail_default_language =3D 'en_US'; > $default_charset =3D 'iso-8859-1'; > $lossy_encoding =3D true; > $imap_server_type =3D 'dovecot'; > $allow_charset_search =3D true; > > phpinfo attached. > > Squirrelmail configtest.php output > SquirrelMail version: 1.4.23 [SVN] > Config file version: 1.4.0 > Config file last modified: 07 August 2013 13:23:46 > Checking PHP configuration... > PHP version 5.4.4-14+deb7u3 OK. > Running as root(0) / root(0) > display_errors: > error_reporting: 22527 > variables_order OK: GPCS. > PHP extensions OK. Dynamic loading is disabled. > Checking paths... > Data dir OK. > Attachment dir OK. > Plugins OK. > Themes OK. > Default language OK. > Base URL detected as: (location base autodetected) > Checking outgoing mail service.... > SMTP server OK (220 web3.mydomain.com ESMTP Postfix (Debian/GNU)) > Checking IMAP service.... > IMAP server ready (* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR > LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=3DPLAIN AUTH=3DLOGIN] Dovecot > ready.) > Capabilities: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS= ID > ENABLE IDLE STARTTLS AUTH=3DPLAIN AUTH=3DLOGIN > Checking internationalization (i18n) settings... > gettext - Gettext functions are available. On some systems you must > have appropriate system locales compiled. > mbstring - Mbstring functions are available. > recode - Recode functions are available. > iconv - Iconv functions are available. > timezone - Webmail users can change their time zone settings. > Checking database functions... > not using database functionality. -- = Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php ---------------------------------------------------------------------------= --- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. = Download for free and get started troubleshooting in minutes. = http://pubads.g.doubleclick.net/gampad/clk?id=3D48897031&iu=3D/4140/ostg.cl= ktrk ----- squirrelmail-i18n mailing list Posting guidelines: http://squirrelmail.org/postingguidelines Information about translations: http://squirrelmail.org/wiki/LanguageTransl= ation Statistics for translations: http://l10n-stats.squirrelmail.org/ List address: [email protected] List archives: http://news.gmane.org/gmane.mail.squirrelmail.internationali= zation List info (subscribe/unsubscribe/change options): https://lists.sourceforge= .net/lists/listinfo/squirrelmail-i18n