Generating Strings with Random Contents

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 14 15:39:14 PDT 2014


Nordlöw:

> I believe defining a complete random sampling of all code units 
> in dchar is a good start right? This can then be reused to 
> lazily convert while filling in a string and wstring.

Several combinations of unicode chars are not meaningful/valid 
(like pairs of ligatures). Any thing that has to work correctly 
with Unicode is complex.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list