Github user pauldraper commented on a diff in the pull request: https://github.com/apache/httpcore/pull/30#discussion_r77326982 --- Diff: httpcore/src/main/java/org/apache/http/Consts.java --- @@ -42,6 +42,8 @@ public static final int HT = 9; // <US-ASCII HT, horizontal-tab (9)> public static final Charset UTF_8 = Charset.forName("UTF-8"); + public static final Charset UTF_16 = Charset.forName("UTF-16"); + public static final Charset UTF_32 = Charset.forName("UTF-32"); --- End diff -- FYI, UTF-32 has not been included in Java 7's `StandardCharsets`. AFAIK all Java installations support it, but I could better handle that error if missing UTF-32 support is a concern.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org