Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can I find the line of corrupted characters (like �, ß, ø ...) in text files?

(A list of corrupted characters is here)

share|improve this question
3  
Not easily, but this is obviously caused by mismatched character encodings. Possibly the strings have been input as utf8 strings, but instead of being treated as utf8 strings, they've been treated as latin1 or some other single byte encoding. Figure out what encodings has been involved, and the question should be answerable. –  geirha Aug 22 '12 at 18:18
2  
There's no list at the link you gave. Could you edit your link to be more specific? By the way, I agree with Geirha. This is almost certainly related to character encoding. If you can figure out the original encoding and how it's now being interpreted, you should be able to convert the files easily using a tool such as iconv. –  Scott Severance Aug 22 '12 at 23:00
    
@ScottSeverance: On the page I linked is a link to "Corrupted-original characters table (Excel file, 29Kb)" –  moose Aug 23 '12 at 7:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.