Update of /cvsroot/monetdb/clients/src/python/Cimpl/MonetSQLdb
In directory 
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28177/src/python/Cimpl/MonetSQLdb

Modified Files:
        converters.py 
Log Message:
propagated changes of Monday Dec 10 2007 - Tuesday Dec 11 2007
from the Clients_1-20 branch to the development trunk


Index: converters.py
===================================================================
RCS file: /cvsroot/monetdb/clients/src/python/Cimpl/MonetSQLdb/converters.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- converters.py       30 Nov 2007 12:33:54 -0000      1.3
+++ converters.py       11 Dec 2007 14:58:25 -0000      1.4
@@ -61,7 +61,7 @@
 
 def Unicode2Str(s, d):
     """Convert a unicode object to a string using utf-8 encoding."""
-    return s.encode('utf-8')
+    return string_literal(s.encode('utf-8'), d)
 
 # Python 1.5.2 compatibility hack
 if str(0L)[-1]=='L':


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to