Uploaded image for project: 'Maven JXR'
  1. Maven JXR
  2. JXR-126

File write using platform default encoding

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: jxr
    • Labels:
      None

      Description

      DirectoryIndexer.doVelocity() method use a FileWriter to write file. The FileWriter using the platform default character encoding. It's better to construct an OutputStreamWriter on a FileOutputStream and takes outputEncoding as parameter.

        Attachments

        1. DirectoryIndexer.java.patch
          1 kB
          Tweea Tang

          Activity

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              tweea Tweea Tang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: