Hi Michael and Kent,
thanks to your tips I was able to solve my problems! It was quite easy at
last.
For those interested and struggling with utf-8, ascii and unicode:
After knowing the right way of
- string.decode() upon input (if in question)
- string.encode() upon output (more often th
Ferry Dave Jäckel wrote:
> Hello list,
>
> I try hard to understand python and unicode support, but don't get it
> really.
>
> What I thought about this until yesterday :)
> If I write my script in unicode encoding and put the magic # -*- coding:
> utf-8 -*- at its start, I can just use unicode
On Fri, 10 Mar 2006 08:55:35 +0100
Ferry Dave Jäckel <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> I try hard to understand python and unicode support, but don't get it
> really.
>
> What I thought about this until yesterday :)
> If I write my script in unicode encoding and put the magic # -*- c
Hello list,
I try hard to understand python and unicode support, but don't get it
really.
What I thought about this until yesterday :)
If I write my script in unicode encoding and put the magic # -*- coding:
utf-8 -*- at its start, I can just use unicode everywhere without problems.
Reading str