Submitted by : at: 2004-08-03T13:28:05+00:00 (13 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

WikiName containing accented letters aren't recognized when the configured locale is using UTF-8 encoding.

The cause is related to the fact that string.letters only contains the ASCII letters in that case. So it might be argued that it is a bug with the libc and/or python.

To test:

import string
import locale
locale.setlocale( locale.LC_ALL, 'fr_CA.UTF-8' )
print string.uppercase
locale.setlocale( locale.LC_ALL, 'fr_CA.iso-8859-1' )
print string.uppercase
# Will print ABCDEFGHIJKLMNOPQRSTUVWXYZ\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd8\xd9\xda\xdb\xdc\xdd\xde

... --Simon Michael, Sat, 07 Aug 2004 14:01:48 -0700 reply

Thanks for the clear example, so helpful when talking about this i18n issues (any issue). I agree, that does seem like a python bug.

If space_wikiname is set, some UTF-8 WikiName get funky --JózsefJároli, Mon, 08 Nov 2004 14:35:32 -0800 reply

I set the space_wikinames property to true on Zwiki folder, and suddenly links like ÉrtékesTartalom went wrong: displayed in both Title and Body of other page as '? ?rtékes Tartalom', which I couldn't revert to the correct title manually. Re-setting the default space_wikinames value everything just worked fine.

doubles? --betabug, Sun, 05 Aug 2007 04:49:42 -0700 reply

I believe #886 #714 and #679 are all the same problem.