module Arborist::Grammar::Unicode

Defined in:

grammar.cr

Class Method Summary

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") => "£"


[View source]