On 26 Mai, 10:09, Pet wrote:
>
> After some time, I've tried, to convert result with unicode(result,
> 'ISO-8859-15') and that was it :)
I haven't really investigated having unicode_results set to false (or
the default) with a database containing UTF-8 (or any non-ASCII
encoded) text, since it's
On May 26, 9:29 am, Pet wrote:
> On May 25, 6:07 pm, Paul Boddie wrote:
>
>
>
>
>
> > On 25 Mai, 17:39, someone wrote:
>
> > > Hi,
>
> > > reading content of webpage (encoded in utf-8) with urllib2, I can't
> > > get parsed data into DB
>
> > > Exception:
>
> > > File "/usr/lib/python2.5/site-
On May 25, 6:07 pm, Paul Boddie wrote:
> On 25 Mai, 17:39, someone wrote:
>
> > Hi,
>
> > reading content of webpage (encoded in utf-8) with urllib2, I can't
> > get parsed data into DB
>
> > Exception:
>
> > File "/usr/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 3111,
> > in execute
>
On 25 Mai, 17:39, someone wrote:
> Hi,
>
> reading content of webpage (encoded in utf-8) with urllib2, I can't
> get parsed data into DB
>
> Exception:
>
> File "/usr/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 3111,
> in execute
> raise OperationalError, msg
> libpq.OperationalError
Hi,
reading content of webpage (encoded in utf-8) with urllib2, I can't
get parsed data into DB
Exception:
File "/usr/lib/python2.5/site-packages/pyPgSQL/PgSQL.py", line 3111,
in execute
raise OperationalError, msg
libpq.OperationalError: ERROR: invalid UTF-8 byte sequence detected
near b