[Zope-dev] Non-ASCII characters in URLs

Alexander Limi limi at plone.org
Sun Apr 6 19:37:22 EDT 2008


Hi,

Is there a good technical explanation for why Zope doesn't allow non-ASCII  
characters in URLs?

I'd like to be able to let URLs work like this example from Wikipedia:

http://ja.wikipedia.org/wiki/メインページ

When I try adding an object with ID "メインページ" in Zope 2, I get the  
following error message:

Error Type: BadRequest
Error Value: The id  
"メインページ"  
contains characters illegal in URLs.

Is there a fundamental reason (ie. Python objects can only be ASCII) or is  
it simply bugs that need to be fixed?


Curiously yours,

-- 
Alexander Limi · http://limi.net



More information about the Zope-Dev mailing list