So, unicode in URLs cause some complications.  How does one make this
work?

--------------------------------------
#!/usr/bin/python
# -*- coding: utf8 -*-

import web

urls = (
  '/test/mío','Blah',
  '/test/mio','Blah',
)

app = web.application(urls, globals())

class Blah(object):
    def GET(self):
        web.header("Content-Type","text/html; charset=utf-8")
        return "<html><body>BLAH!</body></html>"

if __name__ == "__main__":
    web.config.debug = True
    app.run()
-----------------
http://gist.github.com/524549

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to