BE_SetTextEncoding

BE_SetTextEncoding({ encoding })



Sets the text encoding format for any function that writes or reads text on disk, for example the BE_WriteTextToFile function. This is using the iconv library so the full list of encoding options can be found at http://www.gnu.org/software/libiconv/ or by typing "iconv -l" on the command line.

Parameters:

- encoding  : the encoding format to use. By leaving this parameter off, or setting it to "" you reset the encoding to its default ( UTF-8 )

Keywords:

Set Text Encoding


Version History:

- 1.3 :

Code Examples:

BE_SetTextEncoding ( "UTF-16" )
The format of the DDR XML files from FMPA

BE_SetTextEncoding ( "ISO-8859-1" )
Common windows format

BE_SetTextEncoding
will default back to UTF-8

Still need help? Contact Us Contact Us