Issue 387: SmtpEmailSender.java does not correctly encode non-Latin1 characters.
Status:  Released
Owner: ----
Closed:  May 2012
Reported by Litvinov...@gmail.com, Jan 14, 2010
Affected Version: 2.1.1.1
Environment: Debian Lenny/LDAP users

What steps will reproduce the problem?
1. Create ldap user with russian name
2. Configure project watching
3. Make gerrit sends email

What is the expected output? What do you see instead?
Expected output is the correctly encoded all mail headers (From, To, CC,
Subject) to something like base64/qp and utf8. Instead I see raw 8-bit
characters and all of them are replaced by X by cyrus. 8-bit headers are
not allowed by some RFC.

Please provide any additional information below.
I thing com.google.gerrit.server.mail.EmailHeader.write() or code somehere
inside com.google.gerrit.server.mail.SmtpEmailSender.send() should not just
wroute raw chars to underling stream. Some of them should correctly encode
values of headers. Message body itself can contains 8-bit chars.

Jan 14, 2010
#1 sop@google.com
Change I19038f7568124e2ca5900222c77110e688158437 adds support for
encoding to quoted printable using UTF-8 character set.
Status: Fixed
Labels: FixedIn-2.1.2
May 15, 2012
#2 sop@google.com
(No comment was entered for this change.)
Status: Released