Vizard 7 » Command Index » Vizard objects » node3d » <node3d:text3d>.setEncoding
7.7

<node3d:text3d>.setEncoding

Set text encoding

<node3d:text3d>.setEncoding(  
mode  
)  
mode
One of the following values:

Encoding modes

viz.ENCODING_DEFAULT

Use the default global encoding.

viz.ENCODING_ASCII

Use ASCII encoding.

viz.ENCODING_UTF8

Use UTF-8 encoding.

Remarks

This command will set the encoding of the text. The default global text encoding is specified with the viz.text.encoding option. The default behavior is to enable UTF-8 if the main script file contains a UTF-8 BOM.

Return Value

None