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. Click on a blue subject that interests you to go to where it was discussed. To get back here, click on the "back arrow" button of your browser.