I have a simple question about
Java file i/o. I want to write strings to a file such that what is in the
string is all that is written to the file.
I've been using an ObjectOutputStream.writeUTF()/writeChars(), but doing so writes size information before each string or character, and the size information appears as nonsense characters when you open the file.
What object/ method do I want to use instead?