Difference between revisions of "Z80:Directives:STRINGENCODER"

From Learn @ Cemetech
Jump to navigationJump to search
(Initial automated import)
 
(No difference)

Latest revision as of 16:44, 5 February 2016

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