Quantcast
Channel: SCN : Discussion List - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 125

Handling Non-English characters in XML output file

$
0
0

Hi Gurus,

 

I am facing an issue to export Non-English characters into an XML file using XML EXPLICIT.

 

Any idea how I can export the correct Non-English data into a XML file.

 

1. My DB file has character set encoding - windows-1252 (ASCII)

2. I converted a column data type to NVARCHAR from VARCHAR

3. The Non-English data saves correctly now

4. But when I export the data into XML file, it gives me error "control character in XML output"

 

Question 1 - Is there s way I can fix this problem in this scenario ?

 

I also tried another scenarioby changing the DB file to UTF-8 encoding and keeping NVARCHAR

 

Now, when I am extracting the XML File, I am not getting the error but the output for that particular Non-English character is '??'.

 

Question 2 - Is there to get the correct Non-English data in the output file.

 

 

Thanks

Ramendra


Viewing all articles
Browse latest Browse all 125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>