Please I am sure I am missing something verry simple as the
configuration as I am currently running it breaks all the time
when UTF-8 language is set in the squirrelmail UI and non UTF-8
message is received. Such messages are simply unreadable with
The fact I fail to understand is that as long as I set the
squirrelmail language to us-english with character set to
iso-8859-1 even UTF-8 and CP1250 messages are displayed correctly.
I have tried to regenerate all the locales keeping only locales
with UTF-8 encoding and stil I am unable to get any further.
I have also skimmed the archives I have found out that with
html_mail plugin messages encoded with other character sets than
iso-8859-1 cause issues. I am not using html_mail plugin I am only
using viewashtml. I have tried to disable it, restarted the
server, logged again to the squirrelmail and still non UTF-8
messages are not readable.
Please is there something else I can provide so someone might be
able to give me an advice on how to proceed in order to solve my
On 07.08.2013 18:17, Peter Vágner wrote:
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 messages,
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 text only and html parts. This happens
after I change to any language where corresponding character set
Below are some details.
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
# squirrelmail configuration
$squirrelmail_default_language = 'en_US';
$default_charset = 'iso-8859-1';
$lossy_encoding = true;
$imap_server_type = 'dovecot';
$allow_charset_search = true;
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)
variables_order OK: GPCS.
PHP extensions OK. Dynamic loading is disabled.
Data dir OK.
Attachment dir OK.
Default language OK.
Base URL detected as: (location base autodetected)
Checking outgoing mail service....
SMTP server OK (220 web3.mydomain.com ESMTP Postfix
Checking IMAP service....
IMAP server ready (* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR
LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN]
Capabilities: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR
LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN
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.
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.
squirrelmail-i18n mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
Information about translations: http://squirrelmail.org/wiki/LanguageTranslation
Statistics for translations: http://l10n-stats.squirrelmail.org/
List address: email@example.com
List archives: http://news.gmane.org/gmane.mail.squirrelmail.internationalization
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n