It is not possible neither to link to nor to access directly by URL - wiki names containing swedish characters (åäöÅÄÖ).
The message I get is

Invalid Wiki ID
You have specified an invalid wiki ID

Comments

saml’s picture

I noticed that the problem seems to be with the core path module in Drupal, which doesn't allow swedish characters in URL's. This is fixed in Drupal 5.0 so hopefully this problem will disappear when Liquid gets updated for 5.0.

sorenp’s picture

Status: Active » Fixed

It should work now.... Please reopen if not.

(Jag har testat det med lite svenska tecken hemma och det funkade fint... lool)

// Soren

saml’s picture

Wow, nice! =)
(Ser man på!)

It is interesting that it works, because for nodes outside the wiki it still doesn't work.

On requesting a node outside the wiki, for which I've set a path containing swedish characters, Drupal rewrites the URL in the wrong way, and the node isn't found.
(Seem to be a charset issue, where it rewrites the URL with UTF-8 encoding when setting the path, but with latin1 on requesting it)

I reported this at: http://drupal.org/node/116675
Do you get the same result (for nodes outside the wiki)?

sorenp’s picture

This is a problem that I made a Drupal Core patch for some time ago, but forgot to submit. Will do that soon.

I did however solve the problem for Liquid in the following way:

When a request is placed for /wiki/[id] where no patch exists, the default handler parses the id into a WikiId (WID)object. While parsing, latin1 strings are converted to UTF8. As soon as the WID has been parsed it redirects to the node that contains the wiki page. The drupal_goto function then fetches and returns the correct path alias in UTF8.

In the second request, the requested path alias exists and the actual node is fetched without any intervention from the wiki module.

// Soren

saml’s picture

Ok, nice!

Looking forward to test your patch!
I suggest that you submit your patch in http://drupal.org/node/117373

Anonymous’s picture

Status: Fixed » Closed (fixed)