vcard do not support accented characters

RESOLVED FIXED in mozilla1.6alpha

Status

MailNews Core
Backend
RESOLVED FIXED
15 years ago
10 years ago

People

(Reporter: pascalc, Assigned: Scott MacGregor)

Tracking

Trunk
mozilla1.6alpha
x86
Windows XP

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

15 years ago
build 2003100804 WinXP

1 create a vcard for an account with fields that contain accented latin characters
ex : Aménagement
is changed into : Aménagement

Comment 1

15 years ago
.
Assignee: sspitzer → scott
fix in hand
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.6alpha
we do UTF to UCS2 here because we do UCS2 to UTF8 in nsAbCardProperty.cpp:

static VObject* myAddPropValue(VObject *o, const char *propName, const PRUnichar
*propValue, PRBool *aCardHasData)
{
    if (aCardHasData)
        *aCardHasData = PR_TRUE;
    return addPropValue(o, propName, NS_ConvertUCS2toUTF8(propValue).get());
}

there's a similar issue in mimevcrd.cpp, looking into it...
Created attachment 133141 [details] [diff] [review]
complete patch

our vcard attachments are in utf8
Attachment #133139 - Attachment is obsolete: true
fixed.

this has r/sr=bienvenu
Status: ASSIGNED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
(Assignee)

Updated

15 years ago
Blocks: 221542
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.