bnoordhuis / node-iconv

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

Differences between platforms #192

Closed Nakiloe closed 5 years ago

Nakiloe commented 5 years ago

German eszett (ß) is not transliterate(utf8 to ascii) the same way if we build the module on Mac (=> "ss") or on Linux (=> "s") :/ . Is there a way to prevent these differences ?

bnoordhuis commented 5 years ago

That sounds implausible as there is no platform-specific code in node-iconv. Can you post your code?

Nakiloe commented 5 years ago

Reducing the code for test, it appears the problem doesn't come from node-iconv, but from the workaround I've made to handle how gnu libiconv process accented letters. Sorry for the false issue :(