Skip to main content

text_decoder_ctor

Function text_decoder_ctor 

Source
pub(crate) fn text_decoder_ctor(
    _it: &mut Interp,
    _t: Value,
    a: &[Value],
) -> Result<Value, Value>
Expand description

new TextDecoder(label) が丸ごと引数を無視し常に utf-8 決め打ちだった バグ(詳細は text_decode/normalize_text_encoding_label のコメント参照)。