Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-969

StringUtils.toEncodedString(byte[], Charset) needlessly throws UnsupportedEncodingException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.1
    • 3.3
    • lang.*
    • None
    • Any

    Description

      This new method throws UnsupportedEncodingException when passed in a Charset object. Why?

      new String(byte[], Charset) does not throw this exception.

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            mattbishop Matt Bishop
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: