Hello!
I am trying to get xindice to work with german characters (part of
ISO-8859-1). With Linux (IBM JDK 1.3 cx130-20010626) xindice runs
properly without any problems whereas I am experiencing difficulties
with Windows 2000 (Sun J2SE 1.3.1, build 24).
Indexing/retrieving documents encoded in ISO-8859-1 works with both
operating systems. But when I try to modify the database by using
XUpdate it will then contain a garbled character in Windows, although
in Linux the right character will be used and - after retrieval -
displayed.
Example:
...
data = "non-standard-characters";
xupdate =
"<xu:modifications version=\"1.0\"" +
"xmlns:xu=\"http://www.xmldb.org/xupdate\">" +
"<xu:update select=\"" + xpath + "\">" + data +
"</xu:update>" +
"</xu:modifications>";
service.update(xupdate);
...
I am aware of the fact that there are some issues with non-standard
encodings and xindice in its current development state. Is there any
workaround to get rid of this problem or am I doing anything wrong
here?
Masking the characters does not work either. (e.g. #&264; instead of "a
umlaut")
Used xindice version: 1.0rc2
Best regards!
--
Matthias Brunner <[EMAIL PROTECTED]>
PGP FP 7862 32B3 3B75 292A F76F 5042 8587 21AB 5B89 D501
Check out http://blumenstrasse.vol.at/~mb/gpgkey.asc