Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CDO emails
Message
De
20/01/2010 05:33:06
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01444880
Message ID:
01444898
Vues:
70
>>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 )
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform