[php-langspec][Issue #233] - Unicode codepoints are used in the specification, but the specification does not define encoding

[email protected] Thu, 21 Feb 2019 20:52:08 +0000
Newsgroups php.standards
Message-ID <[email protected]>
You can view the Issue on github:
https://github.com/php/php-langspec/issues/233

Comment by Agares:
so the implementation has to map 0x7D to the token for "}", so if the specification defines that the character "}" (it does not specify the byte value) means something in some context, then the knowledge of how to map "}" to byte is the job of the person who implements the parser. So yes, the implementation doesn't need to "know" about what 0x7D means, but the person who reads the spec needs to know that "}" means 0x7D.