When setting a node's URL path to something like ÅÄÖåäö the URL will (seemingly correctly) become:

http://localhost/lab/drupal51/?q=%C3%85%C3%84%C3%96%C3%A5%C3%A4%C3%B6

But when trying to browse the following url in my browser:

http://localhost/lab/drupal51/?q=ÅÄÖåäö

...it gets rewritten as

http://localhost/lab/drupal51/?q=%C5%C4%D6%E5%E4%F6

And thus the correct node is not found.

Drupal.org rewrites the URL in the same manner. Try http://drupal.org/ÅÄÖåäö
It will show:

http://drupal.org/%C5%C4%D6%E5%E4%F6

MediaWiki sites though, rewrites this correctly. Try http://www.mediawiki.org/wiki/ÅÄÖåäö
It will show:

http://www.mediawiki.org/wiki/%C3%85%C3%84%C3%96%C3%A5%C3%A4%C3%B6

Comments

saml’s picture

Priority: Normal » Critical

Sorry, forgot to add my Server info et.c.

This was tested on Drupal 5.1 (official release) and 5.2 dev as of 2007-02-06, running on

Windows XP Professional
ApacheFriends XAMPP Lite version 1.5.4a
+ Apache 2.2.3
+ MySQL 5.0.24a
+ PHP 5.1.6 + PEAR (basic package)

(Also think this is a critical one, so changed that)

saml’s picture

This seems to be a charset issue, where, on setting the path it is rewritten with UTF-8, but on requesting the URL it is rewritten with something like ISO-8859-1?

saml’s picture

Status: Active » Closed (fixed)

(Moved the issue to http://drupal.org/node/117373 since this isn't the right place after the path has moved into the drupal core.)