I'm struggling trying to find an answer to how I can find a non-ascii character in a very large file of xml data. I do not want to convert the non-ascii characters, I just want to identify where in the data file the character is located so I can inform the source to remove the value. The non-ascii data (seems to be a single character) is causing my processing program to fail. Unfortunately the error data does not help me determine where in the file the offending character is located. This XML data file contains data records, and it is most likely in a description field or name field.
I have tried using text tools, but it is such a large file (>32MB) of text that it is overwhelming. Is there a way to run a REGEX to find any character outside the 7-BIT ASCII character set in a tool like PSPad or TextPad?
No comments:
Post a Comment