Juergen Perlinger wrote: > [EMAIL PROTECTED] wrote: > [snip] > Basically you're not using ASCII encoding in your source text... You need > to define an encoding for your source if you're using german umlauts or > other fancy stuff. > > See chapter 2.1.4 of the reference manual, and add e.g. > > # -*- coding: utf-8 -*- > > as first or second line to your script. Make sure your editor talks utf-8, > or use the encoding used by your editor. cp1552 is a good choice for > windows... >
stupid me. cp1252, of course. -- juergen 'pearly' perlinger "It's hard to make new errors!" -- http://mail.python.org/mailman/listinfo/python-list