Last modified: 2008-12-15 20:13:05 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 T18638, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16638 - problem on Persian title
problem on Persian title
Status: CLOSED FIXED
Product: Wikimedia
Classification: Unclassified
wikibugs IRC bot (Other open bugs)
unspecified
PC Windows XP
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.eca.ir/wiki/index.php?titl...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-13 22:40 UTC by amirali.b@gmail.com
Modified: 2008-12-15 20:13 UTC (History)
1 user (show)

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


Attachments

Description amirali.b@gmail.com 2008-12-13 22:40:55 UTC
when I want to make new page on wiki envoding of new page`s title changes and I have one wrong page.
look at this :
http://www.eca.ir/wiki/index.php?title=%C3%88
its not Persian letter ! so why it shows this ? I write "ب" but it shows this....
Comment 1 Gurch 2008-12-14 01:07:00 UTC
Try this link: http://www.eca.ir/wiki/index.php?title=%D8%A8
Comment 2 amirali.b@gmail.com 2008-12-14 06:55:09 UTC
I know it should be like your link but when I type "ب" it changes and shows that wrong link to me (encoding changes)!
its not my own problem its for 90% of my website users . maybe we have problem on our language settings but its for 90% and MEDIAWIKI should solve it .
Comment 3 Gurch 2008-12-14 15:42:35 UTC
Where do you type the "ب" in order for the encoding to change? Into the MediaWiki search box?
Comment 4 amirali.b@gmail.com 2008-12-14 16:47:48 UTC
its my first page : http://www.eca.ir/wiki/index.php?title=%D8%B5%D9%81%D8%AD%D9%87%D9%94_%D8%A7%D8%B5%D9%84%DB%8C
when I want to make one new page with "ب" title (its just one example) I write ب after title like this : "http://www.eca.ir/wiki/index.php?title=ب " but it changes and shows me this page : http://www.eca.ir/wiki/index.php?title=%C3%88
when I write ب on the search box it shows correct but on the title characters changes to unknown type!!!
maybe this problem is on my language settings but its for 90% of my site users and all of them has the same problem.
Comment 5 Brion Vibber 2008-12-15 19:44:16 UTC
This is due to the browser sending manually-typed non-ASCII characters URLs in a native encoding instead of UTF-8. (cf bug 11097)

Try adding this into your languages/messages/MessagesFa.php, right before the line "$rtl = true;":

$fallback8bitEncoding = 'windows-1256';

This should fix it if your server has the PHP iconv or mb_string extensions enabled, but probably won't otherwise.

The browser's configuration can also be fixed; modern versions of IE I think will send UTF-8 by default, and some Firefox versions I think do while earlier ones don't. Not sure about others.
Comment 6 Brion Vibber 2008-12-15 19:49:19 UTC
As of r44630, the 8-bit URL fallback encoding is now set on additional languages using Arabic script (Persian, Urdu, Sindhi, Punjabi)
Comment 7 amirali.b@gmail.com 2008-12-15 20:13:05 UTC
thanks ... really thanks ....
it fixed and works correctly :)

warm regards.

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


Navigation
Links