module Arborist::Grammar::Unicode
Defined in:
grammar.crClass Method Summary
-
.char(hex_escape_sequence : String) : Char
Converts a Unicode hexadecimal string representation - either 2 hex chars, or 4 hex chars - into the Unicode character that it represents, and returns the Char representation of that Unicode character.
Class Method Detail
def self.char(hex_escape_sequence : String) : Char
#
Converts a Unicode hexadecimal string representation - either 2 hex chars, or 4 hex chars - into the Unicode character that it represents, and returns the Char representation of that Unicode character. Example:
Unicode.char("A3") => "£"