[Issue 18532] Hex literals produce invalid strings
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 27 17:01:48 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18532
--- Comment #3 from FeepingCreature <default_357-line at yahoo.de> ---
It has to, because it returns string and string is defined to be UTF-8.
If it wants to return something that is not UTF-8, it should return ubyte[],
and you should have to cast it to string explicitly.
--
More information about the Digitalmars-d-bugs
mailing list