El Mon, 29 Dec 2014 05:53:37 -0800 (PST) Yebach <vid.og...@gmail.com> escribió:
> hello > > I have a postgres dabatabase with utf8 encoding > > after executing > workersDb = db(db.worker.w_organisation == org).select(db.worker.id, > db.worker.w_nick_name).as_list() > > I get a list of dict where my strings are endoed as > > 'Moj\xc4\x8dca' > > where it should write Mojčca > > How do i set the encoding? > > Thank you > > right at the end of the section http://www.web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Connection-strings--the-uri-parameter- Marco. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.