A Writer
stream translates the characters in a String into
UTF character format, which can accommodate many alphabets.
For most Western characters, UTF format is identical to ASCII.
Use DataOutputStream.writeBytes()
for
character output to files that have mixed data types.
If a file contains only characters (a text file) use the
Writer
methods.
You have reached the end this chapter. You may wish to review the following.