On Oct 04, Davide Alberani <davide.alber...@gmail.com> wrote:

> Some questions and tests you can try:

A thing I've forgotten: I assume you're using SQLObject; you can try
playing with the 'use_unicode', 'charset' and 'sqlobject_encoding'
(this last one deprecated) arguments of the connectionForURI function.

You can find the call in the setConnection function of the
imdb.parser.sql.objectadapter module (as you can see we already do
some customization needed by MySQL).

I _think_ you can even pass these parameters from the command line,
with something like:
  -u 'postgres://login:passw...@localhost/imdb?charset=utf8'

but I'm not too sure about the syntax, see SQLObject's documentation.

By the way, another thing you can try is to switch to SQLAlchemy,
since IMDbPY supports both - just append, to your command line:
  -o sqlalchemy


HTH,
-- 
Davide Alberani <davide.alber...@gmail.com> [GPG KeyID: 0x465BFD47]
http://erlug.linux.it/~da/

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to