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.

Version : 1.3

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

Result : 0 for success.

 

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

Have more questions? Submit a request

0 Comments

Article is closed for comments.