Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to convert a text file to utf-8
Message
De
04/11/2011 10:41:53
 
 
À
04/11/2011 10:37:17
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01528059
Message ID:
01528063
Vues:
46
>>Check the Strconv() function in Help.
>>
>>>Dear All,
>>>I want to Convert a Text File to UTF-8 similar to below steps, but with vfp commands. How can i do this?
>>>
>>>1 ) Open Notepad.
>>>2 ) Click "File," "Open." Select the text file you want to convert. Click "Open."
>>>3 ) Open the "File" menu again. Select "Save As." Enter your preferred file name.
>>>4 ) Choose "UTF-8" from the drop-down menu beside "Encoding." Click "Save."
>>>
>>>thanks
>
>NO, I check this function. i want to change my text file that created with TEXT ... ENDTEXT and is in ANSII mode to UTF-8 as said above.

Please reread my message and Help, you will realize that I gave you the answer you were looking for. A combination on Filetostr(), Strtofile() and Strconv() should be enough.

Also you need to realize that VFP has very limited support for double byte text files.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform