Il giorno mer, 02/11/2005 alle 12.07 +0100, [EMAIL PROTECTED] ha scritto: [snip] > (azon=id, nev=name) > The postgres database is unicode encoded. What shall I do in order to > insert these texts into database via zope? (with psql I can insert it > smoothly.)
Pass a utf-8 encoded string or use a version of psycopg that supports unicode strings and pass a unicode object. -- Federico Di Gregorio http://people.initd.org/fog Debian GNU/Linux Developer [EMAIL PROTECTED] INIT.D Developer [EMAIL PROTECTED] Spesso crescere ed andare a vivere da soli รจ l'unico modo di restare bambini. -- Alice Fontana
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db