Item9955: Problem in UserRegistration with generating a WikiName from FirstName and LastName when they include umlaute.
Priority: Normal
Current State: Closed
Released In: 2.0.0
Target Release: major
When i want to create a new User, for example "Mesüt Özil", the WikiName "MesDZil" ist beeing generated as WikiName.
Not that terrible, but pretty unclean. For this Wiki the WikiName needs to be FirstnameLastname so i need the field WikiName in UserRegistration to be ReadOnly actually.
Foswiki 1.1.1, Charset iso-8859-15, locale de_DE.iso-8859-15, UseLocale=on
--
EnrikGuenter - 04 Nov 2010
I wonder if this is the perl code or it is the javascript that sucks on the registration page.
Is it possible to register a person with letters that are not English. A very reasonable requirement.
--
KennethLavrsen - 04 Nov 2010
It is just the javascript
You can manually edit the WikiName and the registration goes correctly creating the user with the
WikiName with non A-Z
--
KennethLavrsen - 04 Nov 2010
In foswikiString.js we have
foswiki.StringConstants.prototype.UPPER_ALPHA_CHARS = "A-Z";
foswiki.StringConstants.prototype.LOWER_ALPHA_CHARS = "a-z";
We need that changed to some generic character classes for upper and lower.
but [:upper:] and [:lower:] does not work it seems.
--
KennethLavrsen - 05 Nov 2010
> You can manually edit the WikiName and the registration goes correctly creating the user with the WikiName? with non A-Z
Yes, kenneth, thats correct, but i'd really like to keep the field Readonly. The Foswiki i'm setting up here is strictly professional (sadly) and not supposed to let the useres become creative in their
WikiNames. I tried a solution with %CALC to manually change Umlaute to thier two-letter-equivalent like ö -> oe. But no success so far. I will continue to try next week, unless someone has a cleaner solution?
--
EnrikGuenter - 05 Nov 2010
As a hack you can add the German letters to the a-z. I.e. a-zöäü in foswikiStrings.js
--
KennethLavrsen - 06 Nov 2010
Confirming, setting to
I18N component
--
GeorgeClark - 14 Oct 2013
Appears to be fixed in 1.2. Marking fixed.
--
GeorgeClark - 23 Jun 2015
No it b'ain't
--
Main.CrawfordCurrie - 25 Jun 2015 - 13:54
Be now.
--
Main.CrawfordCurrie - 25 Jun 2015 - 14:00
Transliteration of unicode chars to ascii-clean was actually a desired feature ... and a required one on Foswiki platforms that are not fully unicodified ... opening a new task at
Item13608
--
MichaelDaum - 04 Aug 2015