Skip to content

do not interpret pure ascii as utf-8

Lars Herschke requested to merge lhersch/kdiff3:dectectUTF8 into master

Since the commit b96f5d7d I have the problem that very many ISO8859 files are incorrectly classified as utf-8. This always happens when there is no special character in the first 400 characters. The change now causes that if the first 400 characters are pure ascii, the file is not classified as utf-8.

Merge request reports