Don't have Telegram yet? Try it now!
https://bravikov.wordpress.com/2017/04/02/%d0%b1%d0%b8%d0%b1%d0%bb%d0%b8%d0%be%d1%82%d0%b5%d0%ba%d0%b0-utf8_to_cp1251/
Библиотека на языке C для конвертации строк из кодировки UTF-8 в CP1251