Closed Bug 1694264 Opened 4 years ago Closed 4 years ago

VCard version 4.0 does not use utf8 as default encoding

Categories

(Thunderbird :: Address Book, enhancement)

enhancement

Tracking

(thunderbird_esr78+ fixed, thunderbird87 fixed)

RESOLVED FIXED
88 Branch
Tracking Status
thunderbird_esr78 + fixed
thunderbird87 --- fixed

People

(Reporter: romain.pugin, Assigned: darktrojan)

References

Details

(Whiteboard: DUPETOME)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0

Steps to reproduce:

Created a Vcard version 4 with some non-ASCII characters (éà for example)

Actual results:

The characters were not imported properly.

Expected results:

The standard implementation of Vcard version 4 uses utf-8 by default. So these characters should have been imported properly

Can confirm. Our core importing code is ancient history which is probably why.

Assignee: nobody → geoff
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Also removes nsAbContentHandler, which used this service but is now dead code.

Whiteboard: DUPETOME
Target Milestone: --- → 88 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/005e791b6a6b
Teach nsIMsgVCardService about Unicode. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

Comment on attachment 9204755 [details]
Bug 1694264 - Teach nsIMsgVCardService about Unicode. r?mkmelin

[Approval Request Comment]
Regression caused by (bug #): Never worked
User impact if declined: Some vCards with non-ASCII characters can't be read
Testing completed (on c-c, etc.): Landed two weeks ago
Risk to taking this patch (and alternatives if risky): Minimal

Attachment #9204755 - Flags: approval-comm-esr78?
Attachment #9204755 - Flags: approval-comm-beta?

Comment on attachment 9204755 [details]
Bug 1694264 - Teach nsIMsgVCardService about Unicode. r?mkmelin

[Triage Comment]
Approved for beta

Attachment #9204755 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9204755 [details]
Bug 1694264 - Teach nsIMsgVCardService about Unicode. r?mkmelin

[Triage Comment]
Approved for esr78

Attachment #9204755 - Flags: approval-comm-esr78? → approval-comm-esr78+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: