Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UTF-8 file creation
Message
From
26/08/2010 10:34:23
 
 
To
26/08/2010 10:24:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01478595
Message ID:
01478610
Views:
50
Nick, can you convert it back to ANSI without a problem? And in your XML declaration, did you set the encoding properly?
<?xml version="1.0" encoding="utf-8"?>
>Hi Antonio
>
>I think in my case its the file not the content.
>
>The contents if the file do seem to be UTF-8 but the recipient is telling me the file is not UTf-8
>
>Does that make sense ?
>
>Nick
>
>
>
>>
>>STRCONV(STRCONV(m.lcFileContent,1),9)
>>
>>
>>will encode your output in UTF-8.
>>
>>>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
----------------------------------
António Tavares Lopes
Previous
Reply
Map
View

Click here to load this message in the networking platform