Hi!

I use 'Fail2Ban' to email me security alerts, which I then forward to
someone else.  I've modified it to include translations of the message. 
The original message looks great in SquirrelMail, but when I hit
'forward', it mangles the foreign characters in the editor and in the
outgoing email.  Here's an example of the forwarded characters:

Chinese: IP 216.18.219.148
是一个已知的黑客。阻止他们。谢谢!
Korean: 216.18.219.148 은 알려진 해커입니다. 그들을 멈춰. 
감사합니다!
French: IP 216.18.219.148 est un hacker. Arrêtez de les s'il vous plaît.
Merci!

Here's an example of the original text, copied and pasted from the
Fail2Ban configuration file, which was copied and pasted from Google
Translate:
     Chinese: IP <ip>
&#26159;&#19968;&#20010;&#24050;&#30693;&#30340;&#40657;&#23458;&#12290;&#38459;&#27490;&#20182;&#20204;&#12290;&#35874;&#35874;&#65281;
     Korean: <ip> &#51008; &#50508;&#47140;&#51652;
&#54644;&#52964;&#51077;&#45768;&#45796;. &#44536;&#46308;&#51012;
&#47688;&#52656;.  &#44048;&#49324;&#54633;&#45768;&#45796;!
     French: IP <ip> est un hacker. Arrêtez de les s'il vous plaît. Merci!
This text looks fine in the editor, but when I mail it to myself, it's
turned into html entity codes; you're probably seeing them that way too.

This is the first time I've tried forwarding or creating UTF-8 emails in
SquirrelMail, so this might be a feature request, not a bug report.
:-)

------------

Configuration details:
    * SquirrelMail version:
1.4.20-1.fc11

    * Every plugin installed (both names and version numbers)
change_pass-3.0-1.4.0.tar.gz
html_mail-2.3-1.4.tar.gz
view_as_html-3.8.tar.gz

    * PHP version (such as 4.2.0 or 5.2.4)
5.2.13

    * Web server (both brand and version number, such as Apache 1.3.27, or
IIS 5.0)
Apache 2.2.14-1.fc11

    * IMAP server (both brand and version number, such as Courier-IMAP
4.2.0, UW IMAP as packaged by Debian as "uw-imapd
(7:2002edebian1-13.1)", or Microsoft Exchange Server 2003)
dovecot-1.2.11-3.fc11

    * SMTP server (both brand and version number, such as Sendmail 8.14.1,
or Postfix as packaged by FreeBSD as "postfix-2.4.5,1")
sendmail-8.14.3-5

    * OS and, if applicable, distribution (such as Debian GNU/Linux 4.0
for i386 (kernel "linux-image-2.6.18-4-686 (2.6.18.dfsg.1-12etch2)"),
Red Hat Enterprise Linux 5.0.0 for PPC, NetBSD 3.1 for ARM, or Windows
2000)
Fedora 11 for x86

    * How your software was installed, including the package name if
applicable (Fedora 7 "dovecot-1.0.1-12.fc7" installed by RPM, or
SquirrelMail 1.4.11 installed manually)
yum install -y squirrelmail httpd dovecot sendmail
Plugins installed manually

    * Browsers tried (both brand and version, such as Firefox 2.0.0.7, or
Internet Explorer 7.0.6000.16512)
Firefox 3.5.9

    * Any things that might make your install different, even if minor
(such as web server rewrite rules, configuration files, load
balancers, and proxies)
Nothing.

    * Error messages (see below)
No error messages, just mangled UTF-8 characters when forwarding a UTF-8
message.  Cutting-and-pasting UTF-8 into a message turns characters into
entity codes (I think).


------------------------------------------------------------------------------
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to