I have a file that is encoded to a base64 string. I need to use json to 
return this string and have it function as if it had been copied and pasted 
in javascript. However, when it is returned with JSON, it does not function 
in this way. It appears this has to do with JSON returning unicode instead 
of a basic ASCII string.


A novice, it looks like loads are for Python, not Javascript; Since there 
is not an object_hook encoder for dumps, I am unaware of how to get the 
string 'as is' to javascript.


Please let me know if you need any other info from me.


Thanks,


Phillip

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