this is hardly a web2py issue........
and you should NEVER compose queries by hand, it's asking for troubles.
On Monday, February 1, 2016 at 6:30:04 AM UTC+1, Fábio Filho wrote:
>
> 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.