Full-width spaces(U+3000) in Subject are replaced.
Categories
(Thunderbird :: Untriaged, defect)
Tracking
(Not tracked)
People
(Reporter: yoshiaki, Unassigned)
References
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Steps to reproduce:
I wrote a subect contains full-width space (U+3000), and send or save to draft.
For example, βγγγβ.
Actual results:
U+3000 is converted to a normal space (U+0020).
For example, βγ γβ.
Expected results:
Please do not convert full-width spaces to half-width spaces.
For Japanese, U+3000 and U+0020 are different characters.
Comment 1•1 year ago
|
||
Those are still both space, like in any language.
Is this really a duplicate? Isn't it more an issue of "sanitation", see bug 1900708 comment 7.
Comment 3•1 year ago
|
||
Sanitation sure, but that's what bug 1259430 is also about.
| Reporter | ||
Comment 4•1 year ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #1)
Those are still both space, like in any language.
*** This bug has been marked as a duplicate of bug 1259430 ***
I don't think it is duplidate.
Sorry, I made a misleading.
This is not a space character conversion problem, but a processing order problem.
If you mime-encode βγγγβ(U+3042,U+3000,U+3044), you get "=?UTF-8?B?44GC44CA44GE?=". There is no space here.
Non-ASCII characters should be mime-encoded first.
Comment 5•1 year ago
|
||
It's about processing after mime-decoding.
Comment 6•1 year ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #3)
Sanitation sure, but that's what bug 1259430 is also about.
token = token.replace(/[\xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/g, " ");
...converts the character into a normal space. Because of Bug 1259430, TB then merges them.
Description
•