|
|
@ -1293,15 +1293,15 @@ public class MimeUtility {
|
|
|
|
"8859_1");
|
|
|
|
"8859_1");
|
|
|
|
} catch (SecurityException sex) {
|
|
|
|
} catch (SecurityException sex) {
|
|
|
|
|
|
|
|
|
|
|
|
class NullInputStream extends InputStream {
|
|
|
|
//class NullInputStream extends InputStream {
|
|
|
|
@Override
|
|
|
|
// @Override
|
|
|
|
public int read() {
|
|
|
|
// public int read() {
|
|
|
|
return 0;
|
|
|
|
// return 0;
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
//}
|
|
|
|
InputStreamReader reader =
|
|
|
|
//InputStreamReader reader =
|
|
|
|
new InputStreamReader(new NullInputStream());
|
|
|
|
// new InputStreamReader(new NullInputStream());
|
|
|
|
defaultJavaCharset = reader.getEncoding();
|
|
|
|
//defaultJavaCharset = reader.getEncoding();
|
|
|
|
if (defaultJavaCharset == null)
|
|
|
|
if (defaultJavaCharset == null)
|
|
|
|
defaultJavaCharset = "8859_1";
|
|
|
|
defaultJavaCharset = "8859_1";
|
|
|
|
}
|
|
|
|
}
|
|
|
|