fixed SAX encoded character bug