CharsetDetector / UTF-unknown

Character set detector build in C# - .NET 5+, .NET Core 2+, .NET standard 1+ & .NET 4+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong detection of Win-1251 encoding

PavelFischerCoupa opened this issue · comments

Hello,

we have found one issue. The library delivers wrong encoding if the text in is Win-1251 encoding, but whole text is in upper case. If the same text is in lower case, detection work perfectly.

Here are the files
correct.txt
wrong.txt
.