78 |
* |
* |
79 |
* @return the converted String |
* @return the converted String |
80 |
*/ |
*/ |
81 |
public static String decode(String s) throws Exception |
public static String decode(String s) |
82 |
{ |
{ |
83 |
try |
try |
84 |
{ |
{ |
85 |
return decode(s, "UTF-8"); |
return decode(s, "UTF-8"); |
86 |
} |
} |
87 |
catch (UnsupportedEncodingException uee) |
catch (UnsupportedEncodingException uee) |
88 |
{ |
{ |
89 |
// Should never happen since UTF-8 encoding should always be supported |
// Should never happen since UTF-8 encoding should always be supported |
90 |
return s; |
return s; |
91 |
} |
} |
92 |
} |
} |
93 |
|
|