Closed Bug 229962 Opened 21 years ago Closed 21 years ago

charset parameter in attached vCards should be utf-8, not utf8

Categories

(MailNews Core :: Backend, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mozilla.org, Assigned: sspitzer)

References

()

Details

(Keywords: helpwanted, verified1.7, Whiteboard: [good first bug])

Attachments

(1 file)

Mozilla (as of Thunderbird 0.4) sends attached vCards with Content-Type: text/x-vcard; charset=utf8; The charset parameter should be "utf-8" with a hyphen. See ftp://ftp.rfc-editor.org/in-notes/std/std63.txt
Summary: charset parameter in attached vCards should be utf-8 (hyphen) → charset parameter in attached vCards should be utf-8, not utf8
I don't have the knowledge to compile and test this, but there's the patch nonetheless.
Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.6) Gecko/20040113 -> encodes the personal vCard file with "charset=utf8;" and 7bit content-transfer-encoding, which it is able to import; -> doesn't add any charset info for attached vCards, exported by Palm Desktop 4.0.1, uses 8bit content-transfer-encoding and is not able to import this (nor even tries to; my vCard file I appended contained many addresses)
Keywords: helpwanted
Whiteboard: [good first bug]
Flags: blocking1.7?
Scott, can you take a look at this?
Attachment #140011 - Flags: superreview+
Attachment #140011 - Flags: review?(bienvenu)
Attachment #140011 - Flags: review?(bienvenu) → review+
fixed
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment on attachment 140011 [details] [diff] [review] change utf8 to uft-8 a=asa (on behalf of drivers) for checkin to 1.7
Attachment #140011 - Flags: approval1.7+
not going to block the release for this but if someone has the time to check it into the branch, we'll take it.
Flags: blocking1.7? → blocking1.7-
fixed on the 1.7 branch
Keywords: fixed1.7
Now displaying -> Content-Type: text/x-vcard; charset=utf-8; Verified as fix on latest 1.7 branch 06-24 builds. Changing keywords from fixed1.7 to verified1.7. Leave this bug status "as is" until this bug be verified on trunk again...
Keywords: fixed1.7verified1.7
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: