> Do you have a testcase that shows what the problem is? > > Ronald >>> s = '\xa0' >>> assert s.strip() == s >>> import locale >>> locale.setlocale(locale.LC_ALL, 'en_US.UTF-8') 'en_US.UTF-8' >>> assert s.strip() == s Second assert failed on Snow Leopard. -- Naoki INADA <songofacandy at gmail.com>