Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UTF-8 file creation
Message
From
26/08/2010 13:05:53
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01478595
Message ID:
01478646
Views:
40
>>>>HI
>>>>
>>>>I'm creating a file using FCREATE etc .
>>>>
>>>>The files contents are some XML
>>>>
>>>>The recipient wants it in UTF-8 format.
>>>>
>>>>how do I ensure that the file I create is in that format .
>>>>
>>>>Nick
>>>
>>>
>>>Why with FCREATE?
>>>Why not with CURSORTOXML() there is a flag that is used for UTF-8 encoding.
>>
>>At the moment the information is not in a cursor with the correct names to produce the xml .
>>I guess I could add an extra step to create a cursor with the names I need then populate it and then output it to XML.
>
>There is no need of this, but HOW you create that XML?

FCREATE a file

then create strings with the xml tags and use FPUT to write it into the file.

Nick
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform