charsetEncode

Uses the specified encoding to convert binary data to a string.

charsetEncode(binaryobject, encoding) → returns Binary

Argument Reference for the charsetEncode function

binaryobject

Required: Yes
A variable containing binary data to decode into text.

encoding

Required: Yes
The character encoding that was used to encode the string into binary format. 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