Unicode handling comparison

monarch_dodra monarchdodra at gmail.com
Thu Nov 28 11:19:12 PST 2013


On Thursday, 28 November 2013 at 18:55:44 UTC, Dicebot wrote:
> http://dlang.org/phobos/std_encoding.html#.AsciiString ?

Yeah, that or just ubyte[].

The problem with both of these though, is printing :/ (which
prints ugly as sin)

Something like:
struct AsciiChar
{
      private char c;
      alias c this;
}

Could be a very easy and efficient alternative.


More information about the Digitalmars-d mailing list