Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CDO emails
Message
From
20/01/2010 05:33:06
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01444880
Message ID:
01444898
Views:
71
>>I use the code on Sergey's webpage http://www.berezniker.com/content/pages/visual-foxpro/cdo-2000-class-sending-emails to send emails. It works fine for English messages. However Chinese characters become question marks. How can I tell CDO that I am sending a Chinese (big5 code) body?
>>
>>Thanks in advance
>
>Are you saying, that http://support.microsoft.com/kb/284143 didn't help?

The line

.TextBodyPart.Charset = cdoShift_JIS

should be replaced with

.TextBodyPart.Charset = cdoBig5

( You might want to check info here regarding some constants: http://www.robvanderwoude.com/vbstech_files_utf8.php )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform