Issue 2088: Invalid truncation of email subject
Status:  New
Owner: ----
Reported by savochki...@gmail.com, Aug 27, 2013
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version:
2.5.1, 2.6.1

What steps will reproduce the problem?
1. Subscribe to change notification events. 
2. Create or update change having long Cyrillic (non-latin) subject (first line of comment).
3. Receive notification email with bogus subject.

What is the expected output? What do you see instead?
Expected subject: "PROJ-1234 проверка разрешения доступа к policy анонимом"
Received subject: "=?UTF-8?Q?Change_in_ob[master]:_PROJ-1234_=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B0_=D1=80=D0=B0=D0=B7=D1=80=D0=B5=D1=88=D0=B5=D0=BD=D0=B8=D1=8F_=D0=B4=D0=BE=D1=81=D1=82=D1=83=D0=BF=D0=B0_=D0=BA_policy_=D0=B0=D0=BD=D0=BE=D0=BD=D0=B8=D0=BC=D0=BE=..."

Please provide any additional information below.
It should truncate subject before encoding.
Aug 27, 2013
#1 savochki...@gmail.com
Note last letter of subject "м" was incorrectly truncated:
raw value: ом
encoded:   =D0=BE=D0=BC
truncated: =D0=BE=...
should be: =D0=BE...