I wanted to implement the datatable.net sample (
http://www.web2pyslices.com/slice/show/2052/using-datatablesnet-with-web2py-for-ultra-fast-grid-display)
 
in my app.
The controller is dead simple:
def index():
    import json
    res = json.dumps(db.executesql('select * from bd_aramnemek', as_dict = 
True))
    return dict(results=XML(res))

The view is almost the same as in the example linked above.
My database is MSSQL.

According to the error ticket the data is returned well, but nothing is 
showed an an error is thrown
Here is a beginning of the data returned (self=<json.encoder.JSONEncoder 
object>, o=[{'ARAMNEM_NEV': 'nincs villamos\xedtva',...) where you can see 
the encoded data.

The problem is that all my data have  Hungarian local characters 

How to solve this issue?

-- 
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.

Reply via email to