niecza
niecza copied to clipboard
Kannada digit gives LTA error message when used as number
<sorear> n: ೨
<p6eval> niecza v19-26-g025a6e6: OUTPUT«Unhandled exception: Digit <೨> too large for radix 10 [...]
<sorear> I thought that would break :>
<masak> ೨ isn't so large... :P
<sorear> it's probably doing something like ord($_) - 48
* masak submits nieczaissue
<sorear> :D
<sorear> .u ೨
<phenny> U+0CE8 KANNADA DIGIT TWO (೨)
What's the matter with digit too large for radix 10? What error message do you think it should give?
I don't know what message it should give, but the message it gives is wrong, because the value of the digit ೨ is 2.
Probably Niecza should just say that it doesn't do non-ASCII digits. Or something.