From: Robert Klemme Date: 2005-08-12T18:21:13+09:00 Subject: Re: java strings read and write Karsten Meier wrote: > Robert Klemme wrote: > >> >> Can't you just use BufferedReader? That's present since JDK 1.1 so I >> assume it will be available on your phone. >> http://java.sun.com/j2se/1.4.2/docs/api/java/io/BufferedReader.html > > No, it is not part of the CLDC/MIDP specification, used in the > majority of all phones available today. The IO capabilities are quite > low. Ah, ok. Didn't know that. >> As long as you stick with ASCII chars it's quite easy. If you want >> to write UTF8 or something it starts getting complicated. > I want to do this, because of german umlauts, and I also like to > include newlines in my strings, so currently I decode them, but the > decoding make it slower again. In that case ISO-8859-something should be sufficient IMHO. Newlines can be used with ASCII all right. Kind regards robert