Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML and French characters
Message
 
To
19/08/2002 21:49:10
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00691288
Message ID:
00691304
Views:
17
Hi,

>>Maybe you have to URLEncode your strings ... How did you create the test file?
>I am creating the file with the MSXML DOM object. The content is used directly from a memo field which contains some French characters. Could it be that there is an XML encoding that we have to use other than RTF-8 in order to benefit of that ability? In order to follow a pre-defined XML schema, I can't encode anything. It has to be sent as is.

I'm not really an expert regarding XML, but try the following:
CREATE CURSOR test (f1 c(30))
REPLACE f1 WITH "à"
CURSORTOXML(ALIAS(), "c:\test.xml",1,512+48,0)
*-- Open file in IE -> Valid
CREATE CURSOR test (f1 c(30))
REPLACE f1 WITH "à"
? CURSORTOXML(ALIAS(), "c:\temp\test.xml",1,512+32,0)
*-- Open file in IE -> Invalid
The first one is generated with character translation to UTF-8, the second one without.

HTH,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform