Highlighted
Absent Member.
Absent Member.
2012 views

Accented characters lost after contacts import from VCard

Hello,

When a user tries to import contacts into a personal address book from a VCard file, the french accented characters are lost. The following is an example of the VCard file :

BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN;CHARSET=UTF-8:Bélanger Stéphanie
N;CHARSET=UTF-8:Bélanger;Stéphanie
EMAIL;INTERNET;PREF:stephaniebelanger@company.domain
END:VCARD

The result is the following in the personal address book of the user :

Full name : Stphanie Blanger
Display name : Blanger Stphanie
Email address : stephaniebelanger@company.domain

Thanks for your help.
Labels (2)
0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

Re: Accented characters lost after contacts import from VCard

On 2/27/2013 6:26 AM, dclavel wrote:
>
> Hello,
>
> When a user tries to import contacts into a personal address book from
> a VCard file, the french accented characters are lost. The following is
> an example of the VCard file :
>
> BEGIN:VCARD
> VERSION:2.1
> X-GWTYPE:USER
> FN;CHARSET=UTF-8:B�langer St�phanie
> N;CHARSET=UTF-8:B�langer;St�phanie
> EMAIL;INTERNET;PREF:stephaniebelanger@company.domain
> END:VCARD
>
> The result is the following in the personal address book of the user :
>
> Full name : Stphanie Blanger
> Display name : Blanger Stphanie
> Email address : stephaniebelanger@company.domain
>
> Thanks for your help.
>
>

It's hard to read your output, but if indeed that's a SINGLE BYTE
between B and L, then the VCARD is wrong - this cannot be UTF-8, which
is 2-4 byte for all non US ASCII.


0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Accented characters lost after contacts import from VCar

It is a single byte, ascii code 130, the character "e" with an accent.

If I convert the file from ASCII to UTF-8 in UltraEdit, then the import is correct with all the accented characters.

Is there a way to configure the GroupWise client to import the VCard file in UTF-8 format ?

Thanks!
0 Likes
Highlighted
Knowledge Partner
Knowledge Partner

Re: Accented characters lost after contacts import from VCard

On 28.02.2013 16:36, dclavel wrote:
>
> It is a single byte, ascii code 130, the character "e" with an accent.


Then it's not UTF-8, and the vcard is broken.

> Is there a way to configure the GroupWise client to import the VCard
> file in UTF-8 format ?


No. You look at it from the wrong side. The vcard is wrong. It claims to
be UTF-8, but it isn't. You must solve the Problem at the sender of the
vcard.

CU,
--
Massimo Rosen
Novell Knowledge Partner
No emails please!
http://www.cfc-it.de
CU,
--
Massimo Rosen
Micro Focus Knowledge Partner
No emails please!
http://www.cfc-it.de
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Accented characters lost after contacts import from VCard

On 2/28/2013 7:36 AM, dclavel wrote:
>
> It is a single byte, ascii code 130, the character "e" with an accent.
>
> If I convert the file from ASCII to UTF-8 in UltraEdit, then the import
> is correct with all the accented characters.
>
> Is there a way to configure the GroupWise client to import the VCard
> file in UTF-8 format ?
>
> Thanks!
>
>

Then it should say ISO-8859-1 or whatever. What it's sending is a single
byte charset, advertised as UTF-8

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.