Closed Bug 1476527 Opened 7 years ago Closed 7 years ago

Mojibake Unicode(Japanese Kanji/Hiragana etc ) text when Address book import from csv using en-US version of TB

Categories

(Thunderbird :: Address Book, defect)

defect
Not set
normal

Tracking

(thunderbird_esr52 unaffected, thunderbird_esr60 affected, thunderbird60 wontfix, thunderbird61 wontfix, thunderbird62 affected, thunderbird63 affected)

RESOLVED WONTFIX
Tracking Status
thunderbird_esr52 --- unaffected
thunderbird_esr60 --- affected
thunderbird60 --- wontfix
thunderbird61 --- wontfix
thunderbird62 --- affected
thunderbird63 --- affected

People

(Reporter: alice0775, Unassigned)

References

Details

(Keywords: regression)

Attachments

(2 files)

I find a Bug when I test Bug 1476520. I wanted to transfer an address book from one profile to the other using a CSV file. So I exported it from TB52 and imported it to Tb60.0b10. Unicode(Japanese Kanji/Hiragana etc ) will Mojibake, see attachment.
sample csv which is exported from Tb 52.9.1
Thanks Alice, that would be bug 1381762.
Blocks: 1381762
No longer blocks: 1410850
The problem is character encoring of the exported csv file. Tb exported the csv file as Shift_JIS on windows. Auto-detection character encoring of the file seems to fail when import it? After converting character encoring of the csv file from Shift_JIS to UTF-8, then, importing is successfully performed.
(In reply to Alice0775 White from comment #4) > Auto-detection character encoring of the file seems to fail when import it? Alice thanks as always for you help and your comments. There was never an auto-detection, we used the system charset: https://hg.mozilla.org/comm-central/rev/0b0cba8d70bd#l1.32 Sadly M-C removed nsIPlatformCharset, so we had to switch to a "cheap" replacement which was already criticised in bug 1381762 comment #6: "mozilla::dom::FallbackEncoding is unlikely to be the right answer". Masatoshi-san, can you help with a good idea here?
I think importing fails because the TB 60 locale is English.
Thanks. In this case, try a Japanese version from here: https://archive.mozilla.org/pub/thunderbird/candidates/60.0-candidates/build2/
TB 60 Japanese imported a Shift_JIS CSV correctly for me. Could you double-check?
Flags: needinfo?(VYV03354) → needinfo?(alice0775)
(In reply to Masatoshi Kimura [:emk] from comment #8) > TB 60 Japanese imported a Shift_JIS CSV correctly for me. Could you > double-check? Yes, TB 60.0b10 ja build works as expected.
Flags: needinfo?(alice0775)
So do we close this bug?
Summary: Mojibake Unicode(Japanese Kanji/Hiragana etc ) text when Address book import from csv → Mojibake Unicode(Japanese Kanji/Hiragana etc ) text when Address book import from csv using en-US version of TB
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: