Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4097029

API bug in OutputStreamWriter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.1
    • core-libs
    • x86
    • windows_95



      Name: bb33257 Date: 12/04/97


      If you want to specify an encoding, out output, you
      need to use OutputStreamWriter instead of just
      new PrintWriter(new BufferedWriter(new FileWriter...)
      But that requries you to use
      new PrintWriter(new BufferedWriter(new OutputStreamWriter(
       new FileOutputStream...
      instead of FileWriter, forcing you to mix the old and new streams.



      ======================================================================

            Unassigned Unassigned
            bcbeck Brian Beck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: