DMD: invalid UTF character `\U0000d800`

Jacob Carlborg doob at me.com
Sun Nov 8 16:06:43 UTC 2020


On 2020-11-08 13:39, Kagamin wrote:

> Surrogate pairs are used in rules because java strings are utf-16 
> encoded, it doesn't make much sense for other encodings.

D supports the UTF-16 encoding as well. The compiler doesn't accept the 
surrogate pairs even for UTF-16 strings.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list