Stringencoder

Sets the current string encoder to the one specified.

Syntax

.stringencoder encoder

Allowed inputs

Uses

.stringencoder ascii
.echoln "é" == "?"

.stringencoder utf8
.echoln "é" == "?"
.stringencoder "windows-1252"
.echoln char($80) ; Displays a € sign.
.stringencoder utf8
.db "This will be encoded as UTF-8."

See Also

Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.