Description

Unable to use Cyrillic words in URL. Trying to place such characters in a link and open it (even if you switch your wiki to russian language and open system page such as "ПоследниеИзменения" - "RecentChanges", etc), you will see wiki's error message saying that the page does not exist.

Example

For example, opening a link http://192.168.7.7/mywiki/Тест (or http://192.168.7.7/mywiki/%D0%A2%D0%B5%D1%81%D1%82), I see a text "???�N?N?" in the error page title and on the page below.

Component selection

Looks like MoinMoin has some problems while working with cyrillic string. In Apache's log I see correct URL-encoded address (meaning %D0%A2%D0%B5%D1%81%D1%82 and so one), but on the generated page this string is "broken".

Details

MoinMoin Version

1.9.4

OS and Version

Windows XP

Python Version

2.6.6

Server Setup

n/a

Server Details

n/a

Language you are using the wiki in (set in the browser/UserPreferences)

wikiconfig.py - ru; <Browser preferences>

Workaround

Discussion

/ПоследниеИзменения seems to work in this wiki -- ReimarBauer 2012-06-19 06:13:17

Which browser have you used? Which encoding is default of your platform?

I used both Firefox 12.0 and IE 9.0 - results are equal. My default windows codepage is cp1251. Also I use Apache 2.2.22 for Windows.

Please provide more details, see table rows "Server Setup" and "Server Details". Do you use CGI (don't!)? mod_wsgi (recommended for apache2)? Why apache and not the builtin server? This is likely a server / interfacing issue, not a moin issue. -- ThomasWaldmann 2012-06-20 11:05:23

The encoding problem was solved by switching to WSGI, so thank you for advice! :) (I used apache as I've a little experience with it and had never heard about Werkkzeug).

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/CyrillicUrlsFailToWork (last edited 2012-12-16 13:35:19 by ThomasWaldmann)