You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Convert a standard {@linkplain Charset} to an {@linkplain InputEncoding}.
26
27
*
27
-
* @param charset one of {@link StandardCharsets#UTF_8} or {@link StandardCharsets#UTF_16BE}
28
+
* @param charset one of {@link StandardCharsets#UTF_8} or {@link StandardCharsets#UTF_16} ({@link StandardCharsets#UTF_16LE UTF_16LE} and {@link StandardCharsets#UTF_16BE UTF_16BE} will work too, but native byte order will be used)
28
29
* @throws IllegalArgumentException If the character set is invalid.
0 commit comments