mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-11 18:24:02 +00:00
35df054c4f
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.