invalid token error while parsing an XML file with UTF-8 encoding
        Posted  
        
            by Niranjan
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Niranjan
        
        
        
        Published on 2010-04-22T07:20:33Z
        Indexed on 
            2010/04/22
            7:23 UTC
        
        
        Read the original article
        Hit count: 406
        
xmlparser
invalid token error while parsing an XML file with UTF-8 encoding.
This error is coming when it encountered extended ASCII character 'â' { "â", "â" }.
When I have changed the encoding from UTF-8 to ISO-8859-1 the parsing is successful. But my application should support UTF-8, ASCII and extended ASCII characters. What should I do for this?
Any ideas are welcome.
Thanks in Advance for your time and solution.
© Stack Overflow or respective owner