[Issue 14519] [Enh] foreach on strings should return replacementDchar rather than throwing

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Apr 29 04:53:41 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14519

--- Comment #20 from Vladimir Panteleev <thecybershadow at gmail.com> ---
(In reply to Marc Schütz from comment #18)
> Data with other (or unknown) encodings needs to be stored in `ubyte[]`.

Have you tried using ubyte[] to process ASCII text? It's horrible, you have to
cast at every step, and nothing in std.string works even when it should.

--


More information about the Digitalmars-d-bugs mailing list