Show
Ignore:
Timestamp:
06/21/06 09:37:16 (18 years ago)
Author:
jerome
Message:

Ensures that the databases are created with UTF-8 encoding, and that the
client tells that we will always use UTF-8 when sending datas to the server
or retrieving them.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/pgstorage.py

    r2874 r2954  
    5454        self.database = pg.connect(host=host, port=port, dbname=dbname, user=user, passwd=passwd) 
    5555        self.closed = 0 
     56        self.database.query("SET CLIENT_ENCODING TO 'UTF-8';") 
    5657        self.tool.logdebug("Database opened (host=%s, port=%s, dbname=%s, user=%s)" % (host, port, dbname, user)) 
    5758