Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UTF-8 file creation
Message
De
26/08/2010 13:05:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01478595
Message ID:
01478646
Vues:
39
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform