Quantcast
Viewing all articles
Browse latest Browse all 6

Read UTF-8 XML File in Java using SAX parser example

In the previous SAX parser tutorial we saw how to parse and read a simple XML File. If your file had UTF-8 encoding, there is a chance that the client produced a MalformedByteSequenceException. In order to solve this you have to set the InputSource encoding to UTF-8.                 […]

Viewing all articles
Browse latest Browse all 6

Trending Articles