Displaying 1 to 1 from 1 results

legacy-encoding - Support as many legacy encodings as possible

  •    Javascript

This function takes a plain text string (the input parameter) and encodes it acording the encoding. The return value is a Buffer. The optional options object and its mode property can be used to set the error mode. For encoding, the error mode can be 'fatal' (the default) or 'html'.