bnoordhuis / node-iconv

node.js iconv bindings - text recoding for fun and profit!
Other
799 stars 123 forks source link

Can't convert string from ISO-8859-1 to windows-1251 #217

Closed Cigan12 closed 3 years ago

Cigan12 commented 3 years ago

I'm trying to decode the string "Ëóãîâûå çàñîëåííûå", expected result "Луговые засоленные", getted result "�� ��������" or ""E'o~a^i^a^ua c`a~n^i"ea'i'i^ua", depends on attempt, image I was trying to do it like this. Or like this image or like this image or other attempts with the same wrong result. Hope you'll help me)

Cigan12 commented 3 years ago

On this site it works fine, http://www.online-decoder.com/he/ei

Cigan12 commented 3 years ago

image Also i was trying to do it like this. same result image or like this, what i am doing wrong?)

Cigan12 commented 3 years ago

Okay, i found the solution maybe it will be helpfull for someone image