On Sat, Dec 23, 2006 at 08:34:39PM +0100, Remco Wendt wrote: > Het hoofdstuk over Unicode uit Dive Into Python is sowieso ook erg > nuttig: http://diveintopython.org/xml_processing/unicode.html > > Je kan middels de file sitecustomize.py (ergens in je python path) er > ook voor zorgen dat je default encoding op UTF-8 staat: > > # sitecustomize.py > # this file can be anywhere in your Python path, > # but it usually goes in ${pythondir}/lib/site-packages/ > import sys > sys.setdefaultencoding('utf-8') > > Maareh mysql ondersteunt toch ook UTF-8?
Jep. Ondertussen werkt alles netjes en in ieder geval beter dan de ranzige PHP gebaseerde hacks die we eerst hadden, of die anderen gebouwd zouden hebben ;-) armijn -- --------------------------------------------------------------------------- [EMAIL PROTECTED] | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group --------------------------------------------------------------------------- _______________________________________________ Python-nl mailing list Python-nl@python.org http://mail.python.org/mailman/listinfo/python-nl