阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js new TextDecoder

      Node.js new TextDecoder([encoding[, options]])

      • encoding < string> Identifies the encoding that this TextDecoder instance supports. Default: ‘utf-8’.
      • options < Object>
        • fatal < boolean> true if decoding failures are fatal. This option is only supported when ICU is enabled (see Internationalization). Default: false.
        • ignoreBOM < boolean> When true, the TextDecoder will include the byte order mark in the decoded result. When false, the byte order mark will be removed from the output. This option is only used when encoding is ‘utf-8’, ‘utf-16be’ or ‘utf-16le’. Default: false.

      Creates an new TextDecoder instance. The encoding may specify one of the supported encodings or an alias.


      更多内容请参考:Node.js util 实用工具,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录