|
|
@ -181,7 +181,7 @@ public class Converter { |
|
|
|
* |
|
|
|
* |
|
|
|
* @throws IOException |
|
|
|
* @throws IOException |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
protected String detectCharset(String key, ByteArrayOutputStream bos, BufferedInputStream in, |
|
|
|
protected static String detectCharset(String key, ByteArrayOutputStream bos, BufferedInputStream in, |
|
|
|
String enc) throws IOException { |
|
|
|
String enc) throws IOException { |
|
|
|
|
|
|
|
|
|
|
|
// Grab better encoding from stream
|
|
|
|
// Grab better encoding from stream
|
|
|
|