MailEnable contact with Japanese characters fails with 8000500d
The below is a script for mail enabling a contact. It fails with error code 8000500d. Observere that it has Japanese characters
strOU = "OU=FSP,DC=RAVIDOM80"
strContactCN = "CN=ЎкюǼ"
strEmailAddr = "Agramzow@AcmeConsulting.com"
strDisplayName = "sderytry"
Set objOU = GetObject("LDAP://" & strOU)
Set objContact = objOU.Create("contact",strContactCN)
'objContact.Put "sn", "ЎкюǼt"
objContact.SetInfo( )
objContact.MailEnable strEmailAddr
objContact.Put "internetEncoding",1310720
objContact.SetInfo( )
WScript.Echo "Successfully mail-enabled contact."
If i put some english charcter in the attribute "sn" or "givenname", the script works
Is this a bug or am i missing some thing
Thansk
Ravi

