so, for example, it will turn 1251 into utf-8.
$utf8 = iconv('windows-1251', 'utf-8', $ansi);
But how to turn the unknown (when we still don’t know what format it is) (generally any) format (possibly well-known Iconv) into utf-8? (sample code)
Rella source
share