z80:Directives:STRINGENCODER

From Learn @ Cemetech
Revision as of 16:44, 5 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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