@a1ba @oss It's sort of doable on normal large pieces of text but most encoding detection libraries (and there is a ton of them) are completely stupid, like "é" instead of "é" should just never happen.
And I think I'd rather have that kind of stuff and iconv being forever banned into a corner for just historical purposes of taking old text files and transforming them to utf-8.
And I think I'd rather have that kind of stuff and iconv being forever banned into a corner for just historical purposes of taking old text files and transforming them to utf-8.
Also. UTF-16 > UTF-8.