Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2605

Support for additional encodings needed in ReversedLinesFileReader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.7
    • 1.1.8
    • segmentmk
    • None
    • Windows 2012 R2 Japanese
      Windows 2012 R2 Korean
      Windows 2012 R2 Simplified Chinese
      Windows 2012 R2 Traditional Chinese

    Description

      I'm working on a product that uses Commons IO via Jackrabbit Oak. In the process of testing the launch of such product on Japanese Windows 2012
      Server R2, I came across the following exception: "(java.io.UnsupportedEncodingException: Encoding windows-31j is not supported yet (feel free to submit a patch))"

      windows-31j is the IANA name for Windows code page 932 (Japanese), and is returned by Charset.defaultCharset(), used in org.apache.commons.io.input.ReversedLinesFileReader [0].

      A patch for this issue was provided in https://issues.apache.org/jira/browse/IO-471 .

      It also includes changes needed to support Chinese Simplified, Chinese Traditional and Korean.

      Attachments

        1. OAK-2605.patch
          15 kB
          Michael Dürig

        Issue Links

          Activity

            People

              mduerig Michael Dürig
              lreis Leandro Reis
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: