{"issue":{"created_at":"2011-09-28T20:50:31Z","state":"closed","updated_at":"2011-11-28T21:47:22Z","comments":1,"user":{"gravatar_id":"635dcb5e432bf76c731d9fd29ad3db13","id":109666,"url":"https://api.github.com/users/embe","avatar_url":"https://secure.gravatar.com/avatar/635dcb5e432bf76c731d9fd29ad3db13?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"embe"},"body":"This code:\r\n\r\n```python\r\nm = Map([Rule(u'/\\u0105', endpoint='test')])\r\nu = m.bind('example.com')\r\nprint u.build('test')\r\n```\r\n\r\nfails with an UnicodeEncodeError:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/Users/embe/test.py\", line 4, in <module>\r\n    print u.build('test')\r\n  File \"/users/embe/mgr/ext/werkzeug/werkzeug/routing.py\", line 1614, in build\r\n    return str(urljoin(self.script_name, './' + path.lstrip('/')))\r\nUnicodeEncodeError: 'ascii' codec can't encode character u'\\u0105' in position 1: ordinal not in range(128)\r\n```","assignee":null,"id":1768493,"number":114,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"MapAdapter.build fails with Unicode paths","closed_at":"2011-11-28T21:47:22Z","html_url":"https://github.com/mitsuhiko/werkzeug/issues/114","url":"https://api.github.com/repos/mitsuhiko/werkzeug/issues/114","milestone":null},"action":"closed"}