- From db manager (like PgAdmin,..) same SQL query works ?
- What about mark the string as unicode: u"select first 1....



Dne pondělí 1. února 2016 6:30:04 UTC+1 Fábio Filho napsal(a):
>
> I'm having a problem with my web2py website.... When I execute a sql 
> command, for all fields that has "ç", I got this message:
>
> 'utf8' codec can't decode byte 0xc7 in position 15: invalid continuation 
> byteError
>
> This is my method:
>
> def get_something():
>     mRow=dbFb.executesql("select first 1 CODIGO, NOME, PRECO_CONS, QTD  from 
> ESTOQUE where CODIGO='"request.vars.mCode+"'", as_dict = True)
>
> How can i fix this?
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to