Tags:
create new tag
, view all tags

Bug: Wiki names do not support non-ascii letters

Currently with wiki names "letter" is defined to mean a-zA-Z. While correct for English-speaking countries, this fails miserably just about everywhere else.

It should be easy to fix, just replace the isWikiName TWiki.pm hardcoded

/^[A-Z]+[a-z]+[A-Z]+[a-zA-Z0-9]*$/

with something that uses the current system locale definition of "letter".

This is a fairly big issue on non-english sites, because peoples' names (for example) tend to contain non-ascii letters quite a lot.

Test case

Try to create a link for the Finnish name MikkoYlijärvi. TWiki tries to make a link to MikkoYlij

Environment

TWiki version: CVS snapshot 12.7.02
TWiki plugins:  
Server OS: Linux
Web server: Apache
Perl version: 5.6.1
Client OS: any
Web Browser: all

-- PetriWessman - 12 Jul 2002

Follow up

This has been filed as an FeatureEnhancementRequest in InternationalCharactersInWikiWords.

Fix record

Topic revision: r2 - 2002-07-17 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.