qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qexo-general] Strange special character problem


From: Markus Skistad
Subject: [Qexo-general] Strange special character problem
Date: Tue, 7 Feb 2006 21:57:04 +0100

Hi,

I'm using kawa-1.8 against a ISO-8859-1 xml document. When special characters are encountered(in particular the norwegian characters Æ/æ(198/230), Å/å(197/229), Ø/ø(216/248)) the escape sequence returned doesn't even resemble the correct one. Instead the following sequence, �, is returned "twice" for each character, beeing rendered twice as a question mark inside a square by both firefox and explorer.

Æ/æ(198/230) returns ��
Å/å(197/229) returns ��
Ø/ø(216/248)) returns ��

I tried removing the following code from XMLPrinter.java as suggested in a previous post regarding special characters
        else if (v >= 127)
          super.write("&#"+v+";");

It did however only result in each special character being replaced by a question mark

Any suggestions would be greatly appreciated.

Regards
Markus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]