[TextEditor] Fixed encoding detection issue.
Seems that some danish files get treated as simplified chinese ones.
For some reason the files worked & were shown correctly in XS - but
weren't openable on VS.NET anymore.