reject-scriptableunicodeconverter.rst (626B)
1 reject-scriptableunicodeconverter 2 ================================================ 3 4 Rejects calls into ``Ci.nsIScriptableUnicodeConverter``. This is configured as a warning. 5 You should use |TextEncoder|_ or |TextDecoder|_ for new code. 6 If modifying old code, please consider swapping it in if possible; if this is tricky please ensure 7 a bug is on file. 8 9 .. |TextEncoder| replace:: ``TextEncoder`` 10 .. _TextEncoder: https://searchfox.org/mozilla-central/source/dom/webidl/TextEncoder.webidl 11 12 .. |TextDecoder| replace:: ``TextDecoder`` 13 .. _TextDecoder: https://searchfox.org/mozilla-central/source/dom/webidl/TextDecoder.webidl