Page 1 of 1

bad character in XML

Posted: Thu Jan 14, 2016 4:56 am
by dikan
I made report and I it is using XML data and XSD dataset. On my computer during report editing I receive this error:

Connection 'Expert': Invalid character in the given encoding. Line 1214, position 41.

but report is generated and can be viewed with all data. This character is EASTEURPOEAN Č.
If I put report on customer computer with only generated XML from my applicaton there is no data in report. Report is shown but no data. I am using WIN1250 charset. Is there some trick to tell report viewer to use proper chareset?

Best regards,

dikan

Re: bad character in XML

Posted: Fri Jan 15, 2016 7:45 am
by HighAley
Hello, dikan.

Please, check what code page is set in the XML file. If it is a UTF-8 and you write there text in Windows-1250 code page, you will get a error.
If the code page in XML file is right. Please, send us this file for analysis.

Thank you.

Re: bad character in XML

Posted: Sat Jan 16, 2016 10:44 pm
by dikan
I included in my XML next definition

<?xml version="1.0" encoding="iso-8859-2" ?>

and now everything goes smooth.


Thank you.

dikan

Re: bad character in XML

Posted: Mon Jan 18, 2016 5:36 am
by HighAley
Hello.

We are always glad to help you.
Let us know if you need our help.

Thank you.