Re: char * to unicode/UTF string

2004-05-18 Thread Wesley J Landaker
On Tuesday 18 May 2004 5:43 pm, Tomohiro KUBOTA wrote: > From: Wesley J Landaker <[EMAIL PROTECTED]> > > Basically, you just: > > > > iconv_t ic = iconv_open("UTF-8","ISO-8859-1"); // for example > > // use iconv(ic,...) to do your conver

Re: char * to unicode/UTF string

2004-05-18 Thread Wesley J Landaker
va UTF-16 jstrings and UTF-8 char *strings. See: <http://java.sun.com/docs/books/tutorial/native1.1/implementing/string.html> -- Wesley J. Landaker <[EMAIL PROTECTED]> OpenPGP FP: 4135 2A3B 4726 ACC5 9094 0097 F0A9 8A4C 4CD6 E3D2 pgpGBeUuqgs0D.pgp Description: signature

Re: char * to unicode/UTF string

2004-05-18 Thread Wesley J Landaker
you just: iconv_t ic = iconv_open("UTF-8","ISO-8859-1"); // for example // use iconv(ic,...) to do your conversions iconv_close(ic); -- Wesley J. Landaker <[EMAIL PROTECTED]> OpenPGP FP: 4135 2A3B 4726 ACC5 9094 0097 F0A9 8A4C 4CD6 E3D2 pgp0Ex7ffBRaJ.pgp Description: signature

Re: W3C and UTF-16

2004-04-08 Thread Wesley J Landaker
icked for DOM because it was initially implemented in Java. In the first document, again, they support this in section 3: "Layer 1: Physical representation. This is necessary for APIs that expose a physical representation of string data. Example: For the [DOM] Level 1, UTF-16 was chosen based on c