Re: [python-nl] unicode barf

2006-12-23 Berichten over hetzelfde onderwerp Verdonck Tiest
Eric Casteleijn wrote: >Armijn Hemel wrote: >> beste Pythonettes, >> >> >> het volgende is iets waarvan ik vrees dat het een beginnersiets is, maar >> ik zit al de hele middag m'n hoofd erop te breken. >> >> Met PyExpat (uit xml.dom.ext.reader) trek ik een XML bestand uit elkaar, >> met XPath.

Re: [python-nl] unicode barf

2006-12-23 Berichten over hetzelfde onderwerp Remco Wendt
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 anyw

Re: [python-nl] unicode barf

2006-12-23 Berichten over hetzelfde onderwerp Armijn Hemel
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 defau