Skip to content

Commit

Permalink
java.io.UnsupportedEncodingException: en_US.iso885915 if charset is "…
Browse files Browse the repository at this point in the history
…en_US.iso885915" (#115)

* java.io.UnsupportedEncodingException: en_US.iso885915 if charset is "en_US.iso885915"
Signed-off-by: jmehrens <jason_mehrens@hotmail.com>
  • Loading branch information
jmehrens authored Nov 16, 2023
1 parent 76fde65 commit fd8a2e6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/resources/META-INF/javamail.charset.map
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ iso-2022-cn ISO2022CN
iso-2022-kr ISO2022KR
utf-8 UTF8
utf8 UTF8
en_US.iso885915 ISO-8859-15
ja_jp.iso2022-7 ISO2022JP
ja_jp.eucjp EUCJIS

Expand Down
1 change: 1 addition & 0 deletions doc/src/main/resources/docs/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ for the Eclipse EE4J Angus Mail project:
----------------------------
The following bugs have been fixed in the 2.0.3 release.

107: java.io.UnsupportedEncodingException: en_US.iso885915 if charset is "en_US.iso885915"
110: WildFly support for MailHandler

CHANGES IN THE 2.0.2 RELEASE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,9 @@ public void testBadChineseCharsets() throws Exception {
assertEquals("ms936", goodDecoded, MimeUtility.decodeWord(badms936));
assertEquals("cp936", goodDecoded, MimeUtility.decodeWord(badcp936));
}

@Test
public void testLocaleISO885915() throws Exception {
assertEquals("ISO-8859-15", MimeUtility.javaCharset("en_US.iso885915"));
}
}

0 comments on commit fd8a2e6

Please sign in to comment.