What is the legal range of chars?

anonymous anonymous at example.com
Wed Jun 19 10:02:55 PDT 2013


On Wednesday, 19 June 2013 at 16:54:01 UTC, monarch_dodra wrote:
> Hum... well, that's true for UTF-8 strings, if the _codeunit_ 
> 0xe7 appears, it is not 'ç'.
>
> But when handling a 'char', there is no encoding, it "should" 
> be raw _codepoint_.

No, char is a UTF8 code unit.
Code unit and code point become synonymous in UTF32, so dchar is
a code point.


More information about the Digitalmars-d-learn mailing list