--On 6. April 2008 16:37:22 -0700 Alexander Limi <[EMAIL PROTECTED]> wrote:

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
"&amp;#12513;&amp;#12452;&amp;#12531;&amp;#12506;&amp;#12540;&amp;#12472;
" 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?


As Paul indicated: the issue dates back to the times when there was only
ASCII in the URL world. Especially object IDs have to be ascii - well...Zope
came from US :-)

Andreas

Attachment: pgpJMq7CsKKOG.pgp
Description: PGP signature

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to