If you used Xindice 1.0, the last RELEASE, you're out of luck: it only
works with languages that can be completely be encoded using ISO-8859-1,
i.e. English, French, Spanish, German, etc. Your source document needn't
be in ISO-8859-1, but only those characters that EXIST in ISO-8859-1
will be stored into Xindice.
Using the newest CVS release of Xindice, you can use any Unicode
character
data, including Korean (is this your language?), Chinese, Arabic, etc.
You must still, in all cases, correctly organize document encoding in
your
source XML document, as per XML Recommendation, 2nd edition. This means:
- if you have no <?xml ... ?> declaration, or it contains no line
like <?xml version="1.0" encoding="iso-8859-1"?>, then the document
MUST be encoded in UTF-8 or UTF-16 (both little and big endian are
ok).
- otherwise, if you wish to use some other encoding like Big-5,
Shift-JIS
(I don't know much about non-UTF Asian encodings, sorry if I mix
things up
here), you MUST specify it in the XML declaration, such as:
<?xml version="1.0" encoding="big-5"?>
This obviously holds equally for European languages encoded in
ISO-8859-1
(aka Latin-1) or some other ISO-8859-xxx.
Results FROM Xindice will ALWAYS be in UTF-8 (for the moment), unless
you programmatically retrieve your document as a java.lang.String, and
encode it
yourself some other way.
James
-----Original Message-----
From: song young bin [mailto:[EMAIL PROTECTED]
Sent: 09 January 2003 22:30
To: James Bates; [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: I desire to use XINDICE, but it doesn't work with my navtive
language?
I stored a XML document (wrote by ENGLISH and KOREAN Language) to my
xindice
server.
then I requested a XQuery to the xindice server.
like as
xindice xpath -c /db/data/products -q /[EMAIL PROTECTED]"
"]
It didn't work. It returned no result.
Only when I tried to request by ENGLISH LANGUAGE. It did work.
I really want to know WHAT IS PROBLEM and HOW TO USE NON-ENGLISH
LANGUAGE.
thanks a lot.
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail