I have problem with unicode characters in url in request.args.


 Most resources recommend to use the percent encoding.

http://stackoverflow.com/questions/2742852/unicode-characters-in-urls


Example:

http://www.utf8-chartable.de/unicode-utf8-table.pl?start=256&unicodeinhtml=hex&htmlent=1

U+010C == %c4%8c == Č


 If I enter: a/c/f/ABC%c4%8cD

as URL into browser, browser will properly show: a/c/f/ABCČD

request.args[0] ABC__D --failure - double underscore instead of the unicode 
character

request.url a/c/f/ABCČD --ok

request.vars --ok

So the problem is just in request.args

 Version 2.9.12-stable+timestamp.2015.01.17.06.11.03

Lubuntu, Firefox/Chromium/urllib2/.. --or-- Debian, Chrome ....


 Any idea ... ?


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