kotlin-js convert string to another encoding

371 Views Asked by At

I parse site and get String in windows-1251 encoding. I want print it to console for example. But in console I see incomprehensible symbols. How I can convert windows-1251 String to UTF-8 or how I can print normal string using kotlin-js ?

0

There are 0 best solutions below