求助:JEditorPane的getText()方法返回的字符怎么是这样的?输入以下字符(包括中文):
sdf在一枯dsfkl用getText()返回的字符是:
<html>
<head></head>
<body>
sdf&#22312;&#19968;&#26543;dsfkl
</body>
</html>查javadoc是:When the file is passed to an user agent (JEditorPane) it is converted to the document character set (ISO-10646 aka Unicode). 请高手赐教:如何获得中文的html格式文本:
<html>
<head></head>
<body>
sdf在一枯dsfkl
</body>
</html>