>>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.