On Tue, Aug 03, 2010 at 03:23:19PM +0100, Stuart Henderson wrote: > Tests *without* setting this in LC_CTYPE are also very useful too;
Yes, they are. > this bug wouldn't have been picked up with LC_CTYPE set. Well, the bug was visible with any single-byte locale, so it was visible if you didn't set LC_CTYPE at all (causing the default "C", i.e. just ASCII, to be used), or if you set it to e.g. en_US.ISO8859-1 (which I used to reproduce this), or any other locale we have, really, besides the UTF-8 locale.