Request parameters are byte strings because URLs are byte strings.
Neither Bottle nor AppEngine are in a position to guess or force an
encoding. If you need the values as unicode, you have to explicitly
encode them and catch encoding errors in your app code. I'd use a
decorator to do that.
def unicodeparam(encoding):
def decorator(func):
def wrapper(**kargs):
for key in kargs:
kargs[key] = kargs[key].decode(encoding)
return func(**kargs)
return wrapper
return decorator
(untested)
--
Hope that helped
Marcel