Code: Alles auswählen
print type(field)
Code: Alles auswählen
<type 'str'>
Das Beispiel aus dem o.a. Link ergibt:
Code: Alles auswählen
./encoding.py
<type 'str'>
<type 'unicode'>
<type 'str'>
Hallo Österreich
Hallo Österreich
Hallo Österreich