Skip to content
Prev 32219 / 63421 Next

type.convert (PR#13646)

William Dunlap wrote:
Thanks for that analysis Bill!

Stefan was in "German_Austria.1252" which I don't think is multibyte, so 
only the else-clause should be relevant, pointing the finger rather 
squarely at isspace(). Googling indicates that others have been caught 
out by signed/unsigned char issues there. Should this possibly rather read

if (!isspace((unsigned int)*s++)) return FALSE;

??