Ben Finney wrote: >>> The principles of handling text in Python: Get it to internal Unicode >>> objects as soon as possible, handle it as Unicode for as long as >>> possible, and only encode it to some byte stream for output as late as >>> possible. > Again, note that these recommendations hold for *any* text in Python, > with or without accents; once you accept that text is best handled in > Unicode, there's little sense in making an exception for the limited > subset that happens to be representable in ASCII.
If the QOTW wasn't meant for fun, I'd vote for this. This is very good advice. Stefan -- http://mail.python.org/mailman/listinfo/python-list