mathiasbynens / utf8.js

A robust JavaScript implementation of a UTF-8 encoder/decoder, as defined by the Encoding Standard.
https://git.io/utf8js
MIT License
556 stars 115 forks source link

wrong encoding???? #38

Open rexi1r opened 4 years ago

rexi1r commented 4 years ago

@mathiasbynens @pineapplemachine @darrachequesne I want to encode some string's that some of theme are in utf8 charset and some are different. when I pass a string in utf8 formate to your library, it's return string in iso-8859-1 formate!!!!!

I know that you can encode utf8 multiple times and in the end you will get the result in utf8. am i wrong?