Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word and CodePages
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00580898
Message ID:
00581659
Vues:
21
Jeremy,

I do not know how to change a Code Page, but I do know how to avoid conflict.
At least, it works for me. Try this:
*------------------
close table all
create curs temp (lceuro c(1))
insert into temp values (chr(128))
insert into temp values (chr(128))
copy to c:\temp1 sdf
lcstr=filetostr("c:\temp1.txt")
lcstr=strtran(lcstr, chr(128), chr(255)+chr(254)+chr(172)+chr(32))
strtofile(lcstr, "c:\temp2.txt")
*-----------------------------------

Two text files will be seen differently in MS Word.
I will appreciate if you share with me another solution if any.



>Hi can anyone out there help.
>
>I perform a mailmerge in Word to do some reports. The merge data is a comma delimited text file create from VF5. However when the Euro symbol is used it appear in word as a small box. I think this has something to do with the Code Page but I've been unable to trace where I set this in Word :-(
>
>Any help would be appreciated.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform