|
|
|
|
|
by WalterBright
1343 days ago
|
|
Thanks for the bug report. I filed it for you: https://issues.dlang.org/show_bug.cgi?id=23405 Having string be a magic builtin type does not eliminate the problem of dealing with invalid UTF sequences. Invalid UTF sequences are inherent to the Unicode design, and programmers are left on their own to deal with it. The options are: 1. ignore them 2. use the replacement char 3. throw an exception (or other error indication) D enables the programmer to pick which they need, on a case by case basis. |
|
#23405 was resolved as fixed a week ago. It isn't fixed. I guess at least I didn't waste my time filing the bug.