简体   繁体   中英

How to find Invalid UTF-8 Character in oracle column

I have oracle table in which I am storing XML file , column is of CLOB type . Then we picked that xml file for further processing . It is somewhere breaking with below exception

"com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 start byte 0xa0 (at char #931, byte #20)"

When we copy the content in notepad++ ,it didn't show any invalid UTF-8 Character.

Could any one help how to find invalid UTF-8 character in XML file in oracle column , request you to considering column is of CLOB type.

ANy help is greatly appreciated

Do you have access to Unix? You can use iconv -f utf-8 -t utf-8 -c yourfile.xml . You can find more possible options in this thread .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM