sorry, its my misstake. the code calls a stored procedure and the result is not converted to unicode. simple mapping still works.
----- Original Nachricht ---- Von: [EMAIL PROTECTED] An: sqlalchemy@googlegroups.com Datum: 27.10.2008 11:10 Betreff: [sqlalchemy] [0.4.8] broken convert_unicode behavior? > > Hey, > > RDMS: postgresql > database encoding: utf8 > column type: character varying > engine: sqlalchemy.create_engine( > self.dsn, echo=False, encoding='utf-8', > convert_unicode=True, > strategy='threadlocal', **kw) > > in example, the username is Vladimïrovich > with sqlalchemy 0.3.x (correct) > >user = session.query( User ).get( 1 ) > >user.name > Vladim\u00efrovich > > with sqlalchemy 0.4.8 (incorrect) > >user = session.query( User ).get( 1 ) > >user.name > Vladim\u00c3\u00afrovic > > It is a mistake on my side or a sqlalchemy problem? > How can I check if sqlalchemy really try to convert strings into unicode > encoding? > > Thanks, > Tyr > > Jetzt komfortabel bei Arcor-Digital TV einsteigen: Mehr Happy Ends, mehr > Herzschmerz, mehr Fernsehen! Erleben Sie 50 digitale TV Programme und > optional 60 Pay TV Sender, einen elektronischen Programmführer mit Movie > Star Bewertungen von TV Movie. Außerdem, aktuelle Filmhits und spannende > Dokus in der Arcor-Videothek. Infos unter www.arcor.de/tv > > > > Jetzt komfortabel bei Arcor-Digital TV einsteigen: Mehr Happy Ends, mehr Herzschmerz, mehr Fernsehen! Erleben Sie 50 digitale TV Programme und optional 60 Pay TV Sender, einen elektronischen Programmführer mit Movie Star Bewertungen von TV Movie. Außerdem, aktuelle Filmhits und spannende Dokus in der Arcor-Videothek. Infos unter www.arcor.de/tv --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---