Last modified: 2014-03-14 23:39:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8963 - Maintenance scripts break with certain multi-byte titles entered on the Windows command line
Maintenance scripts break with certain multi-byte titles entered on the Windo...
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
PC Windows 2000
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-02-13 08:05 UTC by uta
Modified: 2014-03-14 23:39 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description uta 2007-02-13 08:05:03 UTC
hi I'm japanese guy.
I use 
MediaWiki: 1.7.1 
PHP: 5.1.4 (apache2handler) 
MySQL: 5.0.24a-community-max-nt 
I am not good at English and do not understand php, too. 
I am glad when I understand the matter that I am going to say. 
When I use Japanese (2 bytes letter? double byte?) for a file name and carry out 
importtextfile.php, I do not set the item name definitely. 
Thus, I do a file name in British several characters and carry out importtextfile.php and 
fix title in Japanese in mysql afterwards. 
However, then a search of an article is not possible
Comment 1 Brion Vibber 2007-02-13 23:03:28 UTC
This is probably due to Windows using a non-Unicode encoding for filenames and
console-app-level communications.

It may be possible to find out the locale encoding and convert, but I'm not
really sure how offhand...
Comment 2 Platonides 2007-06-13 13:04:51 UTC
Windows encoding on prompt is quite odd for supporting MS-DOS codepages, for crazyness of console programs for windows using special characters.

If using cmd (ie. no Win9x/Me) you can issue the command "chcp 1252" (change to Windows-1252 codepage, default for English Windows version, set here the Japanese one) and choosing Lucida Console as the console font (right-click on the system-menu of the console window, Properties, Font Tab. Apply to current window).

This reduces the back and forth encodings so it might allow you to provide the filename in a way the scripct can use.

If you change the arcticle name directly in the db, you may need to rebuild the search index after ( maintenance/rebuildtextindex.php ).

Comment 3 Andre Klapper 2014-03-14 23:39:11 UTC
uta: I assume Platonides' comment 2 helped. If this is still a problem in a recent version of MediaWiki and Microsoft Windows, please reopen this ticket.

Note You need to log in before you can comment on or make changes to this bug.