mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-06 22:53:08 +00:00
![nhotta%netscape.com](/assets/img/avatar_default.png)
If unicode encoder cannot map a character to the target encoding, it returns used unicode length including the unmapped character. That is true for all encoder except ISO-2022-JP (bug #15706). Changed the callers to match the encoder behavior. bug 8865, r=cata.