Encode text

Writes the input as bytes in another character set.

  • ID: encode-text
  • Category: Data format
  • Aliases: charset encode, code page, iconv

Arguments

ArgumentTypeDefaultConstraints
Encodingoption"UTF-8"UTF-8, UTF-16LE, UTF-16BE, ISO-8859-1 (Latin-1), ISO-8859-2 (Latin-2), ISO-8859-3 (Latin-3), ISO-8859-4 (Latin-4), ISO-8859-5 (Cyrillic), ISO-8859-6 (Arabic), ISO-8859-7 (Greek), ISO-8859-8 (Hebrew), ISO-8859-10 (Latin-6), ISO-8859-13 (Latin-7), ISO-8859-14 (Latin-8), ISO-8859-15 (Latin-9), ISO-8859-16 (Latin-10), KOI8-R (Russian), KOI8-U (Ukrainian), IBM866 (Cyrillic DOS), Macintosh (Roman), Mac Cyrillic, Windows-874 (Thai), Windows-1250 (Central European), Windows-1251 (Cyrillic), Windows-1252 (Western European), Windows-1253 (Greek), Windows-1254 (Turkish), Windows-1255 (Hebrew), Windows-1256 (Arabic), Windows-1257 (Baltic), Windows-1258 (Vietnamese), Shift-JIS (Japanese), EUC-JP (Japanese), EUC-KR (Korean), GBK (Simplified Chinese), GB18030 (Simplified Chinese), Big5 (Traditional Chinese)