Re: Java's version of UTF-8

From: John Cowan (
Date: Wed Nov 18 1998 - 16:33:58 EST

Rick McGowan scripsit:

> Oh GROAN! Not this thing again! Isn't there a FAQ on this... ;-) It must
> be the most-often asked question about Java & Unicode.
> Peter Westlake answere quite nicely. Java uses this internally. Don't use
> it for exporting data. Use the public I/O methods for extracting conformant
> UTF-8 data.

To which I would add:

Use the readUTF and writeUTF methods freely for binary I/O; their names
are misnomers, as what they really do is transput a standardized
representation of Java String objects.

John Cowan
		e'osai ko sarji la lojban.

This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:43 EDT