Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML and accented chars and Adobe
Message
From
31/05/2005 09:30:17
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018584
Message ID:
01018682
Views:
9
Hi David,

Thanks for the response - I checked and VFP7 does contain the strconv() function so will give it a whirl. I also need to order VFP9 anyhow....do you know, is there a VFP10 release planned for this year or is VFP9 good for some time?

Albert

>Albert,
>
>If you use a PRE tag to wrap your xml/html code in here you won't have to yank the < .
>
>The real problem is that the character é is not a valid UTF-8 character. In UTF-8 the ASCII characters 128-255 all take 2 bytes to encode in UTF8. So you'll need to use strconv() the data to utf8. I don't have VFP7 installed on this new machine so I can't check, but I know that VFP8 can. You'll need to convert character to DBCS and then DBCS to UTF8.
>
>>I am exporting VFP data to Adobe via creating an .xfdf file that contains an xml string. Adobe reads this file and stuffs fields on the form with the appropriate data.
>>
>>The only problem I have seems to be with accented characters (e.g. Montréal). The character shows up properly in the .xfdf file when viewed with notepad but it is a "box" in Adobe.
>>
>>I am using this as the header string in the xml file - does it has to change or is it something within Adobe that has to be set?
>>
>>(note: opening and closing brackets have been removed below as they throw off the html here)
>>
>>?xml version="1.0" encoding="UTF-8"?
>>xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve" etc
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform