bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] Unicode multibyte character shattered when header trunca


From: 積丹尼 Dan Jacobson
Subject: [bug-mailutils] Unicode multibyte character shattered when header truncated
Date: Sun, 26 Apr 2015 19:46:45 +0800

mail (GNU Mailutils) 2.99.98 should stop at a character boundary before
shattering a multibyte UTF-8 character!

$ for i in `seq 130 140`; do COLUMNS=$i mail -H -f /cf/updates/sms;
done|grep '1 簡訊轉接'|head -n 4
>U   1 簡訊轉接       一  4月  6 10:  37/2679  【簡訊轉接服務通知】來自 0931X8X9X0 傳送文字簡訊,至您
>U   1 簡訊轉接       一  4月  6 10:  37/2679  【簡訊轉接服務通知】來自 0931X8X9X0 傳送文字簡訊,至您\347
>U   1 簡訊轉接       一  4月  6 10:  37/2679  【簡訊轉接服務通知】來自 0931X8X9X0 
>傳送文字簡訊,至您\347\232
>U   1 簡訊轉接       一  4月  6 10:  37/2679  【簡訊轉接服務通知】來自 0931X8X9X0 傳送文字簡訊,至您的



reply via email to

[Prev in Thread] Current Thread [Next in Thread]