2007 Sep 28 1:19 PM
I have a xml and I need to write the character ü, but a message with the error Illegal xml character is shown when I try open my file xml with the Microsoft Office Word.
I have tried to use the character special for xml/html, in my case I have used ü, but a message with the error Undeclared Entity is shown in this case.
How I can solve it?
2007 Sep 28 1:50 PM
Hi,
I have the following line:
<?xml version="1.0" encoding="UTF-8"?>
I cannot change it. I have to use UTF-8.
Is it possible to solve my problem without change the encoding parameter?
Thanks.
2007 Sep 28 1:33 PM
Hi,
i think the problem is the codepage of the XML document.
I think the validation of the document fails because the 'ü' is not contained in the charset of the specified Codepage.
The codepage specification ist done in the XML document line:
<?xml version="1.0" encoding="<yourCharset"?>
Regards,
Gianpietro
2007 Sep 28 1:50 PM
Hi,
I have the following line:
<?xml version="1.0" encoding="UTF-8"?>
I cannot change it. I have to use UTF-8.
Is it possible to solve my problem without change the encoding parameter?
Thanks.
2007 Sep 28 2:17 PM
Hi,
"ü" is a UTF-8 Character...
How are you generating the file?
Important is to save the file with the same byte format written in the <?xml version="1.0" encoding="UTF-8"?> line.
If you use ABAP ensure that the encoding output is the right one.
OPEN DATASET dsn IN TEXT MODE FOR OUTPUT ENCODING UTF-8If you use a editor ensure that you use the right encoding at the saving time.
Regards,
Gianpietro