Version 4 of encoding convertto

Updated 2011-04-30 23:53:50 by AMG
encoding convertto ?encoding? string

Convert string from Unicode to the specified encoding. The result is a sequence of bytes (i.e., a byte array) 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