Article View: borland.public.jbuilder.java.language
Article #19743Re: DataOutputStream Problem...Help!
From: Paul Murray
Date: Wed, 24 Dec 1997 00:00
Date: Wed, 24 Dec 1997 00:00
13 lines
924 bytes
924 bytes
> For some reason when I use the writeChars() function member to write a >String to a file, it inserts spaces in between the chars of the string. >When I read the text using a DataInputStream or look at the file I see >this: > > f o o b a r > A java char is a two-byte unicode character. If you use writeChars to write and readChars to read, your app will work in any language currently supported by unicode - russian, Japanese etc etc.
Technical Details
Message-ID:
<685g7h$nqr3@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3447F60E.756C6000@vnet.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,66e1899f092c822d,start X-Google-Attributes: gidf74b3,public From: "Paul Murray" <pmurray@bigpond.com> Subject: Re: DataOutputStream Problem...Help! Date: 1997/12/24 Message-ID: <685g7h$nqr3@forums.borland.com> X-Deja-AN: 310744881 References: <3447F60E.756C6000@vnet.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: N/A Newsgroups: borland.public.jbuilder.java.language