charsetDecode

Converts as string to a binary representation.

charsetDecode(String, encoding) → returns Binary

Argument Reference for the charsetDecode function

String

Required: Yes
A string containing data to encode in binary format.

encoding

Required: Yes
A string specifying encoding of the input data. Values:
  • utf-8
  • iso-8859-1
  • windows-1252
  • us-ascii
  • shift_jis
  • iso-2022-jp
  • euc-jp
  • euc-kr
  • big5
  • euc-cn
  • utf-16


Fork me on GitHub