Having set up a site which is semi-closed, that successfully uses WikiWords with non US-ASCII characters (ÅÄÖ åäö) also usernames and thus WikiNames I found a showstopper.
If a name with åäö is found in a group, no names after that, including that name is parsed. This seriously hampers usage.
UseLocale = 1
Charset in use: ISO-8859-15 (
fi_FI@euro in Suse 10.0)
I tracked the problem to:
/lib/TWiki/Users.pm line 115-116:
# TODO: i18n fix for user name
$names =~ s/\s*([a-zA-Z0-9_\.\,\s\%]*)\s*(.*)/$1/go; # Limit list
Which seems to be a classic a-z regexp problem.
When line is replaced with:
$names =~ s/\s*([$TWiki::regex{mixedAlphaNum}_\.\,\s\%]*)\s*(.*)/$1/go;
everything seems to work like it should.
This might be the fix - what I don't know is if it breaks something else or poses some risks.
I think its a pretty harmless fix. SVN 10170.
Merged to 4.0.x branch at SVN 10171.
--
AT