Uploaded image for project: 'jboss.org'
  1. jboss.org
  2. ORG-1567

Add support for UTF-7 encoding

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • search.jboss.org
    • None

      UTF-7 is rarely used but still it can be found in some emails.

      For example this email is encoded using UTF-7:
      http://lists.jboss.org/pipermail/rules-dev/2012-October/004213.html

      The source message header contains:
      Content-Type: text/plain; charset="UTF-7"

      The problem is that by default Java does not support UTF-7 (yielding UnsupportedEncodingException). To solve this we need to bring in third-party library for UTF-7 support, for example:

      <dependency>
      <groupId>com.beetstra.jutf7</groupId>
      <artifactId>jutf7</artifactId>
      <version>1.0.0</version>
      </dependency>

              lvlcek@redhat.com Lukas Vlcek (Inactive)
              lvlcek@redhat.com Lukas Vlcek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: