-T
(at least) supports only base 10 & silently rejects malformed numbers
#19
Labels
-T
(at least) supports only base 10 & silently rejects malformed numbers
#19
superfamiconv map -T 0x80
apparently treats the argument as0
, silently discarding thex80
part. I didn't check with other options.C
stdlib
hasstrtoul
which handles this correctly with abase
of 0, and error checking is possible by checking the returned pointer. (Example.) I don't know if there's a C++ way of doing that, though.The text was updated successfully, but these errors were encountered: