Stefan Behnel wrote:
Omschrijving = Omschrijving.replace(u"priv?", u'privé')
(mind the u"...")
outfile = codecs.open(output, "wb", encoding="UTF-8")
(mind the "wb" for 'write binary/bytes')
It works now!
Looks like you'd be happier with Python 3.0, BTW...
Python 3 is not in Debian Lenny. With your help I made my first Python-script. This script saves me from hours dumb work. Thanks a lot!! -- Jaap van Wingerde e-mail: [email protected] -- http://mail.python.org/mailman/listinfo/python-list
