Item2328: Table sorting still doesn't work if topic name contains an umlaut
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
There used to be a bug about messed-up links for table sorting in topics with an umlaut in the topic name (see
Item5125). This bug seems to be fixed. But now, there is a new one: table sorting only works the first time in such a topic. An example is shown in
Sandbox.TestTöpic.
When I open this topic for the first time, the umlaut in the address bar is encoded as
TestT%f6pic
, but after sorting the table for the first time, the topic name in the address bar changes to
TestTöpic
. When sorting a second time, it tries to open a topic called
TestTöpic
(which of course doesn't exist).
Btw, automatic linking to such a topic doesn't seem to work on foswiki.org, but works on our wiki - probably due to different encoding settings. Test link:
TestTöpic
--
MartinKaufmann - 04 Nov 2009
Topic-name-corruption problem confirmed
--
MichaelTempest - 03 Jul 2010
Now that core is utf-8, fix by calling Foswiki::decode_utf8 on the url. I've checked in a fix, and it seems to be working.
Crawford, marking this fix for your review.
--
Main.GeorgeClark - 23 Jun 2015 - 01:29