[Webkit-unassigned] [Bug 79218] [EFL] Change parameter of setlocale in the platformLanguage.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 24 20:14:44 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=79218





--- Comment #5 from Kihong Kwon <kihong.kwon at samsung.com>  2012-02-24 20:14:44 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > CC'ing Martin, if this patch is right, I think GTK port also needs to use this patch.
> 
> What values do Firefox and Chromium use? Perhaps we should check LC_MESSAGE, LC_CTYPE and LC_ALL in succession.

I have checked setlocale() in the windows, mac and ubuntu.
Windows and Mac don't support this function properly, for example:
In case of Windows7,
LC_CTYPE : C.UTF-8
LC_MESSAGES : C.UTF-8

In case of MAC OS X 10.6,
LC_CTYPE : UTF-8
LC_MESSAGES : C

I think only Linux(Ubuntu 11.04) can support this properly, that is:
LC_CTYPE : en_US.UTF-8
LC_MESSAGES : en_US.UTF-8

IMHO, LC_CTYPE indicates system's regional information whereas LC_MESSAGES indicates language.
In addition, Qt and Chromium ports implement this in the browser(app), i.e., not implemented in the webkit.
Similarly, what would you think, for Efl and Gtk ports, implement this function (i.e., getting navigator's language information) in the browser instead of in the WebKit.



How about efl and gtk implement this like qt an chromium.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list