On Wednesday, 1 January 2014 at 20:01:56 UTC, Caeadas wrote:
Thanks much for the help, both of you :). I thought there might
be a very simple way to do this, since it's so intuitive to
change '4' to 4.
There have been talks about it, but it hasn't been implemented
yet. The idea was to provide
On Wednesday, 1 January 2014 at 20:08:24 UTC, Marco Leise wrote:
Am Wed, 01 Jan 2014 07:27:54 +
schrieb "Meta" :
Your code is working correctly. D's chars, for all values up
to 255, are the same as the ASCII character set.
UTF-8 reuses the ASCII mapping which is only defined from 0 to
127
Am Wed, 01 Jan 2014 07:27:54 +
schrieb "Meta" :
> Your code is working correctly. D's chars, for all values up to
> 255, are the same as the ASCII character set.
UTF-8 reuses the ASCII mapping which is only defined from 0 to
127. Everything above is not ASCII and 255 is in fact not even
defi
Thanks much for the help, both of you :). I thought there might
be a very simple way to do this, since it's so intuitive to
change '4' to 4. I've basically just been subtracting 48 from
everything, but I suppose aesthetically it's a bit nicer to
convert from string instead.
On Wednesday, 1 January 2014 at 06:21:05 UTC, Caeadas wrote:
I hope you'll forgive my asking an overly easy question: I've
been searching for an answer and having trouble finding one, and
am getting frustrated.
My issue is this: I'm trying to convert character types to
integers using to!int from
On Wednesday, 1 January 2014 at 06:21:05 UTC, Caeadas wrote:
My issue is this: I'm trying to convert character types to
integers using to!int from std.conv, and I'm getting, for
example, '0'->48, '1'->49, etc. It seems like there should be a
simple way around this, but it's eluding me.
Well, in
I hope you'll forgive my asking an overly easy question: I've
been searching for an answer and having trouble finding one, and
am getting frustrated.
My issue is this: I'm trying to convert character types to
integers using to!int from std.conv, and I'm getting, for
example, '0'->48, '1'->49, etc