[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: char * to unicode/UTF string
James Simmons wrote on 2004-05-18 23:46 UTC:
> I wish that where true. I was using regualer char strings in JNI code for
> a JVM and it expects unicode strings. The JVM was braffing because of
> this.
"Unicode string" is not a meaningful description of how text is encoded
as a sequence of bytes. I presume you mean something like UTF-16LE or
UTF-16BE?
Quick introduction to what Unicode encodings there are:
http://www.cl.cam.ac.uk/~mgk25/unicode.html#ucsutf
Markus
--
Markus Kuhn, Computer Lab, Univ of Cambridge, GB
http://www.cl.cam.ac.uk/~mgk25/ | __oo_O..O_oo__
--
Linux-UTF8: i18n of Linux on all levels
Archive: http://mail.nl.linux.org/linux-utf8/