[web2py] Encoding problem with a web2py application that implements an XMLRPC webservice

2019-07-04 Thread Lisandro
I need to understand if this is a bug or if it is the expected behaviour and I'm doing something wrong. I have two web2py applications. One of them implements an XMLRPC webservice, and the other one consumes it. All the controllers (in both applications) have this first line: # -*- coding: utf-

[web2py] Encoding problem in 'format' from define_table on GAE

2013-08-15 Thread juan
Hello, It seems that the format option in db.define_table isn't working properly when deployed on GAE. Please, consider these two tables: db.define_table('ingrediente', Field('nombre', 'string', requires=IS_NOT_EMPTY(error_message='Se ha de indicar el nombre')),

[web2py] encoding problem in GAE when using format in db.define_table

2013-08-15 Thread juanchín chin chin
It seems that something isn't working properly when using the attribute 'format' and not-only English chars on db.define_table when deployed on GAE Please, consider theses two table definitions: db.define_table('ingrediente', Field('nombre', 'string', requires=IS_NOT_EMPTY(error_m

[web2py] encoding problem

2011-03-10 Thread Eduardo
Hi, I modified the insert( ) function of appadmin.py from the example app by passing a dict to the labels attribute of SQLFORM( ) - in other words: appadmin.py > insert( ) > SQLFORM(.. labels=dict) The labels, with Portuguese characters, are not correctly encoded on the final result. Note th

[web2py] encoding problem

2011-01-26 Thread Marin Pranjic
It's not web2py related, but I hope someone can help me. I'm sending data via ajax, which is urlencoded JSON object (I used jquery-json). Then, I use json.loads(variable) to load the object. Everything works good for normal ASCII characters, but if I send non- ascii chars, i get the following: U