Re: Trouble with utf-8 values

2013-11-05 Thread Peter Otten
Ulrich Goebel wrote: > Hallo, > > again: a python beginner problem... but I spent ours to solve it without > success. > > I have an object (a variable) name, which gets its value from a > PostgreSQL database via a SELECT statement, an it sometimes has german > special characters as ß, ä, ö... >

Re: Trouble with utf-8 values

2013-11-04 Thread Ben Finney
Ulrich Goebel writes: > I have an object (a variable) name This confuses me. Is it an object, a variable, or a name? > which gets its value from a PostgreSQL database via a SELECT > statement, an it sometimes has german special characters as ß, ä, ö... What is the type of that object? You can

Trouble with utf-8 values

2013-11-04 Thread Ulrich Goebel
Hallo, again: a python beginner problem... but I spent ours to solve it without success. I have an object (a variable) name, which gets its value from a PostgreSQL database via a SELECT statement, an it sometimes has german special characters as ß, ä, ö... Then I would like to insert that