N/encode Module

Use the N/encode module to convert a string to another type of encoding. This module exposes string encoding and decoding functionality.

                                   

In This Help Topic

N/encode Module Members

Member Type

Name

Return Type / Value Type

Supported Script Types

Description

Method

encode.convert(options)

string

Server scripts

Converts a string to another type of encoding and returns the re-encoded string.

Enum

encode.Encoding

enum

Server scripts

Holds the string values for the supported character set encoding. Use this enum to set the inputEncoding and outputEncoding parameter values in N/crypto Module or N/encode Module.

Related Topics

General Notices