Information générale
Catégorie:
COM/DCOM et OLE Automation
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement