Error: Could not decode "blablobli" with "UTF-8" encoding. Editing not possible.
-
when opening a special file in Qt creator I get the message "Error: Could not decode "blablobli" with "UTF-8" encoding. Editing not possible. "
The reason is clear that there is somewhere a character which is not conform with UTF-8. Typically Qt creator is not happy about German Umlaute and I change them. Unfortunately, this time it is another character. The file is a bit big for manual line by line inspection.Has anyone an idea how to find the character for inspection?
-
Thanks for suggestion. Unfortunately not. I have tried to use the regexp in Qt creator, but the problem might be the "translation" done through choosing a character set. The find allows searching with regexp and one assemble a simple search with all legal characters (eg. [A-z] and add also punctuation).
The first problem starts with caret which indicates also start of line. However, also obvious wrong characters are not found. -
Did you try with sed ?
-
Good idea, voted !