|
 |
asp_cdo thread: Display Name in other languages
Message #1 by "Dante Tang" <dante.tang@s...> on Mon, 26 Nov 2001 03:10:49
|
|
I have an item in Contacts Folder, it's display name is in Chinese. I get
it's display name in ASP by using CDO as shown below:
DisplayName = cdoMessage.Fields(&H3001001E)
When I write it out, I found that the Chinese characters become ???, I
view the HTML source, it is also ???. So I think the value of the chinese
display name is changed when I get it by using:
DisplayName = cdoMessage.Fields(&H3001001E)
Does anyone know how to get the chinese display name, and display it in
HTML properly?
I would appreciate for any comment or advice, Thank you very much in
advance.
Dante Tang
Message #2 by "Siegfried Weber" <sweber@c...> on Mon, 26 Nov 2001 13:30:09 +0100
|
|
Try:
DisplayName =3D cdoMessage.Fields(&H3001001F)
IIRC the "001E" part of the tag tells MAPI to use ANSI as charset while
"001F" is Unicode.
Not sure if it helps because I never had to deal with Chinese charsets
myself.
<Siegfried />
> -----Original Message-----
> From: Dante Tang [mailto:dante.tang@s...]
> Sent: Monday, November 26, 2001 4:11 AM
> To: ASP CDO
> Subject: [asp_cdo] Display Name in other languages
>
> I have an item in Contacts Folder, it's display name is in Chinese. I
get
> it's display name in ASP by using CDO as shown below:
>
> DisplayName =3D cdoMessage.Fields(&H3001001E)
>
>
> When I write it out, I found that the Chinese characters become ???, I
> view the HTML source, it is also ???. So I think the value of the
chinese
> display name is changed when I get it by using:
>
> DisplayName =3D cdoMessage.Fields(&H3001001E)
>
>
> Does anyone know how to get the chinese display name, and display it
in
> HTML properly?
>
> I would appreciate for any comment or advice, Thank you very much in
> advance.
>
>
> Dante Tang
>
$subst('Email.Unsub')
|
|
 |