Closed
Bug 1324800
Opened 9 years ago
Closed 9 years ago
When saving an email as txt file, Thunderbird cuts off the saved message at certain Unicode letters like U+1F44D or U+1F44E.
Categories
(Thunderbird :: Untriaged, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1271864
People
(Reporter: bugzilla, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161208153507
Steps to reproduce:
I save an email with certain Unicode letters like U+1F44D or U+1F44E as txt file.
Actual results:
The txt file is cut off at the Unicode letter. (The Unicode letter is the first letter that is not saved.) The rest of the email is missing.
Expected results:
The complete email should be saved :-)
Comment 1•9 years ago
|
||
U+1F44D, U+1F44E. 4bytes UTF-16(0x0xD83D 0xDC4D), 4bytes UTF-8(0xF0 0x9F 0x91 0x8D).
http://www.fileformat.info/info/unicode/char/1F44D/index.htm
http://www.fileformat.info/info/unicode/char/1F44E/index.htm
(In reply to isyahadin from comment #0)
> Steps to reproduce:
> I save an email with certain Unicode letters like U+1F44D or U+1F44E as txt file.
> Actual results:
> The txt file is cut off at the Unicode letter. (The Unicode letter is the
> first letter that is not saved.) The rest of the email is missing.
"Cut off" when, at where, by whom?
HTML mail? Text mail?
What is charset of the saved TXT file by Tb?
In the TXT file, data for the "U+1F44D or U+1F44E and after it" was actually not written by Tb?
Or when you viewed the TXT file by using something, it's not shown?
If TXT file, Firefox can read/show it.
What is displayed by Firefox when the saved TXT file is viewed with changing View charset?
Comment 2•9 years ago
|
||
That's an old hat. You should set the Windows locale properly: See bug 1271864 comment #10.
Wada: Analysis in bug 1271864 comment #37 and further down.
What happens is that before we replaced characters that couldn't be represented in the chosen charset with "?". Sadly now it just truncates there. Maybe I should look into bug 1271864 one day.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Comment 3•9 years ago
|
||
In pointed bug, Shift_JIS looks used for TXT file if ja build on Japanese MS Windows...
Why still Shift_JIS... If Win, stupid notepad requests(requested?) BOM even though utf-8 not utf-16...
(In reply to Jorg K (GMT+1) from comment #2)
> That's an old hat. You should set the Windows locale properly: See bug
> 1271864 comment #10.
Thanks for the answers!
I set the Windows locale (Language for non-Unicode programs to "English (United States)"), but it didn't help, the text files are still truncated.
I use a German version of Thunderbird (not en-US version like in bug 1271864).
Will bug 1271864 be fixed in a future version?
Comment 5•9 years ago
|
||
(In reply to isyahadin from comment #4)
> I set the Windows locale (Language for non-Unicode programs to "English
> (United States)"), but it didn't help, the text files are still truncated.
I tried saving an e-mail with Japanese text and it got truncated, too, since the export was to ANSI.
> Will bug 1271864 be fixed in a future version?
Yes, we'll fix it for the next major release TB 52 ESR scheduled for March 2017.
You need to log in
before you can comment on or make changes to this bug.
Description
•