Re: Unicode question

Karsten Hilbert <[email protected]> Fri, 25 Jul 2003 09:04:32 +0200
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
> If in your Python code you use Unicode strings, you need to:
> a) use client_encoding parameter in connect() call
> b) tell the PostgreSQL  backend with "SET CLIENT_ENCODING TO ..."
> 
> if in your Python code you use only byte strings, you need to:
> - tell the PostgreSQL backend with "SET CLIENT_ENCODING TO ..."
> 
> All clear now?
Yes. Thank you. I will now try to understand the *reason* by
reading the source.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01