[I18n-sig] Unicode Tutorial (Slow) Progress

M.-A. Lemburg mal@lemburg.com
Wed, 05 Apr 2000 20:58:44 +0200


I just noted a bug that appears on your page:

>>> a.encode('ascii', 'ignore')  # turn to zero and continue 
'Andr\000'

This should really give 'Andr' -- 'ignore' will simply ignore
illegal input characters.

I will submit a patch for this with the next Unicode patch set.

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/