Version 2 of encoding convertto

Updated 2005-12-28 22:06:36

encoding convertto ?encoding? string

Convert string from Unicode to the specified encoding. The result is a sequence of bytes that represents the converted string. Each byte is stored in the lower 8-bits of a Unicode character. If encoding is not specified, the current system encoding is used.


Example of an encoding with "non-null" 0 character: GSM 03.38 encoding


See also:


Category Command - Tcl syntax help - Category Binary Data