Last modified: 2008-06-11 00:09:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11454, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9454 - Special:Listusers gives PHP "iconv(): Detected an illegal character in input string" error message on random binary input.
Special:Listusers gives PHP "iconv(): Detected an illegal character in input ...
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.9.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://files.nickj.org/MediaWiki/1-0-...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-30 05:32 UTC by Nick Jenkins
Modified: 2008-06-11 00:09 UTC (History)
0 users

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


Attachments

Description Nick Jenkins 2007-03-30 05:32:19 UTC
Getting a PHP "iconv(): Detected an illegal character in input string in
languages/Language.php on line 786" error message in Special:Listusers, probably
caused by bad binary input. May or may not only be visible with error_reporting(
E_STRICT | E_ALL) enabled. There are two test cases for this, as CURL
command-line scripts, at the following URLs:
http://files.nickj.org/MediaWiki/1-0-7.curl.sh
http://files.nickj.org/MediaWiki/1-4-9.curl.sh
(Note for testing you will need to update the URL at the end of the script if
the test wiki is not on "localhost").
Comment 1 Brion Vibber 2008-06-10 17:19:51 UTC
I'm just getting "bad title" errors here. Assuming it's been resolved in the meantime?
Comment 2 Nick Jenkins 2008-06-11 00:09:06 UTC
Still getting it on a test machine, on a r36177 checkout but with a rather old PHP 5.1.2 (on Ubuntu 6.06.2 LTS). Tried it on a different box, running MediaWiki stable 1.12.0 and PHP 5.2.0 (this was Debian 4.0), and got the same error - "Notice: iconv() : Detected an illegal character in input string in languages/Language.php on line 1227" (or line 1229 on the SVN checkout). [note had to add "error_reporting( E_ALL );" to LocalSettings.php, and I was using the 1-0-7.curl.sh test]

However, the above are both non-recent versions of PHP - so it's entirely possible that it's a PHP issue. Let's leave this as closed and when I update the Ubuntu box to 8.04 LTS (which I plan to do at the start of August, after the first LTS point release has been made), then I can do a quick check then with a more modern setup - and if it's still happening then will reopen.

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


Navigation
Links