dmd foreach loops throw exceptions on invalid UTF sequences, use replacementDchar instead

kdevel kdevel at vogtner.de
Mon Nov 15 19:53:28 UTC 2021


On Monday, 15 November 2021 at 07:17:03 UTC, FeepingCreature 
wrote:
[...]
> Yes, because `readText` is typed in a way that it excludes 
> valid filenames. But it's *already* wrong - this feature would 
> only expose the wrongness, as `filename` is already not a 
> validly typed string. File a bug?

May I ask you for a bug title? "readText shall accept natively 
typed filename"?


More information about the Digitalmars-d mailing list