Name: rm29839 Date: 10/09/97
public String(byte bytes[],
String enc) throws UnsupportedEncodingException
Construct a new String by converting the
specified array of bytes using the specified
character encoding. The length of the new
String is a function of the encoding, and
hence may not be equal to the length of the
byte array.
(b)
Parameters:bytes - The bytes to be converted into characters
enc - A character-encoding name
** WHAT ARE THE EXISTING CHARACTER ENCODING NAMES?
I'VE BEEN LOOKING FOR THE LAST 8 HOURS TO ACOMPLISH
WHAT IS TRIVIAL IN ALMOST EVERY OTHER LANGUAGE I HAVE
ENCOUTERED ... WHICH IS TURNING AN ASCII ARRAY OF BYTES INTO A STRING.
(c) Throws: UnsupportedEncodingExceptionIf the named encoding is not supported
company - Set Top Industries , email - ###@###.###
======================================================================
- duplicates
-
JDK-4126395 RFE: java.lang.String character encoding documentation improvement request
- Closed
-
JDK-4211689 Character Encoding names not defined
- Closed
- relates to
-
JDK-4285562 GetTextPlainUnicodeFlavor returns dataflavor with unsupported charset "utf-16l
- Closed