I tried to write a simple XML SAX handler, extending the HandlerBase to parse an XML file. But, if the XML file contains some Chinese or Japanese, it can't get the Chinese or Japanese text. What should I do ?
Created May 4, 2012
Seok-jeong Hwang Java can handle unicode like XML.
And if you want handler other than English, a document must declare it.
And if you want handler other than English, a document must declare it.
<?XML version="1.0" encoding="euc-kr"?>
The above statement is for Korean. The Java stream class can be set to some other character set in its constructor.