public class EncodingUtils extends Object
| Constructor and Description |
|---|
EncodingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
fixTheCode(String value) |
static boolean |
isGBK(String string) |
static boolean |
isUTF8(String string) |
static String |
toGBK(String string) |
static String |
toISO_8859_1(String string) |
public static boolean isUTF8(String string)
public static boolean isGBK(String string) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static String toGBK(String string) throws UnsupportedEncodingException
UnsupportedEncodingExceptionpublic static String toISO_8859_1(String string) throws UnsupportedEncodingException
UnsupportedEncodingExceptionCopyright © 2016 jufeng. All rights reserved.