Arbortext Command Language > Functions by Alphabetical Listing > ucstombs
  
ucstombs
return = ucstombs (str[, charset])
This function converts the Unicode string str to a byte string in the specified character charset, which may be a multi-byte character set. charset is one of the character sets listed in the description of mblen. If charset is not specified, the system character set is assumed.
Because the resulting string is a byte string, not all string operations are appropriate. The result would normally be written to a binary file or network channel. See the example with mbstoucs.
Example
write(ch, ucstombs("get toc.htm\r\n", "iso8859-1"))