Author mark.dickinson
Recipients benjamin.peterson, mark.dickinson, pitrou
Date 2008-08-21.21:12:27
SpamBayes Score 1.17283e-07
Marked as misclassified No
Message-id <>
The problem appears to be that on Solaris, the isxdigit function (which 
is supposed to check whether a character is a valid hex digit) returns 
true for Unicode fullwidth digits.  On other systems I have access to, 
isxdigit just returns true for the ASCII hex digits, and you use the C99 
iswxdigit function if you want to allow other Unicode digits.

One could argue that these fullwidth digits should be permitted, but I 
don't know any quick way to convert a unicode digit to its value.  For 
now, it just seems simplest to replace the isxdigit call with an 
explicit check for the ASCII 7-bit characters '0' through '9', 'a' 
through 'f'.
Date User Action Args
2008-08-21 21:12:29mark.dickinsonsetrecipients: + mark.dickinson, pitrou, benjamin.peterson
2008-08-21 21:12:29mark.dickinsonsetmessageid: <>
2008-08-21 21:12:27mark.dickinsonlinkissue3633 messages
2008-08-21 21:12:27mark.dickinsoncreate