[Bug 21976] Wikipedia Mobile cannot encode Chinese characters correctly

2010-02-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21976

Derk-Jan Hartman hart...@videolan.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #13 from Derk-Jan Hartman hart...@videolan.org 2010-02-10 
21:34:04 UTC ---
Fix deployed now

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are watching all bug changes.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21976] Wikipedia Mobile cannot encode Chinese characters correctly

2010-01-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21976


Derk-Jan Hartman hart...@videolan.org changed:

   What|Removed |Added

 CC||r...@biemond.de




--- Comment #12 from Derk-Jan Hartman hart...@videolan.org  2010-01-07 
19:26:03 UTC ---
*** Bug 22045 has been marked as a duplicate of this bug. ***


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21976] Wikipedia Mobile cannot encode Chinese characters correctly

2010-01-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21976





--- Comment #10 from Derk-Jan Hartman hart...@videolan.org  2010-01-06 
18:38:57 UTC ---
I hope to have fixed this with:

http://bit.ly/6Pb4v6 (not yet deployed)

http://bit.ly/6SAXUG (not yet deployed)


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21976] Wikipedia Mobile cannot encode Chinese characters correctly

2010-01-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21976





--- Comment #11 from CBM c...@tools.wikimedia.de  2010-01-06 18:54:26 UTC ---
The bit.ly links in the previous comment correspond to:

http://github.com/hcatlin/wikimedia-mobile/commit/79408049e1aa35a07c18cb16aff423ecac834576

http://github.com/hcatlin/wikimedia-mobile/commit/55b503fd49add23863869e30ddf870ce31d2171c

There is plenty of space in Bugzilla to make URL shortening unnecessary. 


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21976] Wikipedia Mobile cannot encode Chinese characters correctly

2010-01-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21976


Andrea Di Menna ninn...@gmail.com changed:

   What|Removed |Added

 CC||ninn...@gmail.com




--- Comment #6 from Andrea Di Menna ninn...@gmail.com  2010-01-05 11:13:59 
UTC ---
The problem is the following:

# from _footmenu_simple.html.haml

the href for that anchor is retrieved calling - temp_url(@article.title)
where

def temp_url(path)
  %|#{redirect_url}?to=#{path_site}/wiki/#{path_encoded(path)}|
end

and 

def path_encoded(path)
  CGI::escape(path)
end

But

path = @article.title is using HTML entities in the form #xhex value; and
when calling CGI::escape(path) those chars get URL encoded (that is using
%code form).

Before calling CGI::escape the @article.title should be HTML unescaped (note
CGI::unescapeHTML is not working at all).
Maybe you want to check http://po-ru.com/projects/html-entities/


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21976] Wikipedia Mobile cannot encode Chinese characters correctly

2010-01-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21976


Derk-Jan Hartman hart...@videolan.org changed:

   What|Removed |Added

 CC||xu.jimmy@gmail.com




--- Comment #7 from Derk-Jan Hartman hart...@videolan.org  2010-01-05 
15:58:42 UTC ---
*** Bug 21774 has been marked as a duplicate of this bug. ***


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21976] Wikipedia Mobile cannot encode Chinese characters correctly

2010-01-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21976


Derk-Jan Hartman hart...@videolan.org changed:

   What|Removed |Added

 CC||c...@tools.wikimedia.de




--- Comment #8 from Derk-Jan Hartman hart...@videolan.org  2010-01-05 
19:21:02 UTC ---
*** Bug 21473 has been marked as a duplicate of this bug. ***


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21976] Wikipedia Mobile cannot encode Chinese characters correctly

2010-01-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21976





--- Comment #9 from Derk-Jan Hartman hart...@videolan.org  2010-01-05 
19:23:31 UTC ---
i'll be fixing this. I'll find a way to retrieve the canonical pagename from
the javascript options. At least that will be correct and safe.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21976] Wikipedia Mobile cannot encode Chinese characters correctly

2009-12-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21976


Derk-Jan Hartman hart...@videolan.org changed:

   What|Removed |Added

 CC||hart...@videolan.org
   Severity|blocker |major




--- Comment #1 from Derk-Jan Hartman hart...@videolan.org  2009-12-31 
11:55:27 UTC ---
works for me (Safari). What kind of browser are you using ?


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21976] Wikipedia Mobile cannot encode Chinese characters correctly

2009-12-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21976





--- Comment #2 from Liangent liang...@gmail.com  2009-12-31 12:08:27 UTC ---
At least it doesn't work for me with Opera Mini (on a smartphone). I took this
URL on PC; maybe this URL differs from the one I got with Opera Mini.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21976] Wikipedia Mobile cannot encode Chinese characters correctly

2009-12-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21976





--- Comment #3 from Derk-Jan Hartman hart...@videolan.org  2009-12-31 
12:42:13 UTC ---
Tested with Opera Mini and reproducible with Safari.

Page:
http://zh.m.wikipedia.org/wiki/字

Which is the bottom link from http://en.wikipedia.org/wiki/Zi

View this page links to:
http://zh.wikipedia.org/w/mobileRedirect.php?to=http://zh.wikipedia.org/wiki/%25E5%25AD%2597

This malformed URL lands me on page: http://zh.wikipedia.org/wiki/#x5B57;

The URL should have been been http://zh.wikipedia.org/wiki/%E5%AD%97


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21976] Wikipedia Mobile cannot encode Chinese characters correctly

2009-12-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21976





--- Comment #4 from Derk-Jan Hartman hart...@videolan.org  2009-12-31 
12:44:05 UTC ---
%25E5%25AD%2597 decoded == %E5%AD%97 so it's URL encoded twice.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 21976] Wikipedia Mobile cannot encode Chinese characters correctly

2009-12-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=21976





--- Comment #5 from Liangent liang...@gmail.com  2009-12-31 12:51:31 UTC ---
Its behaviors seem to differ from each other among browsers.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l