[Fedora-i18n-bugs] [Bug 682141] gnome-shell failed to start when changing user language to Chinese(China)

bugzilla at redhat.com bugzilla at redhat.com
Sat Mar 12 17:57:36 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=682141

Chen Xing <cxcxcxcx at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cxcxcxcx at gmail.com

--- Comment #7 from Chen Xing <cxcxcxcx at gmail.com> 2011-03-12 12:57:36 EST ---
I'm suffering from the same problem. GNOME 3 on Archlinux is suffering from the
same problem, and I found what happens.

The error gnome-shell is:
=======================================================
    JS ERROR: !!!   Exception was: Error: Failed to convert locale string to
UTF8: 转换输入中出现无效字符序列
    JS ERROR: !!!     lineNumber = '0'
    JS ERROR: !!!     fileName = 'gjs_throw'
    JS ERROR: !!!     stack = 'Error("Failed to convert locale string to UTF8:
\u8F6C\u6362\u8F93\u5165\u4E2D\u51FA\u73B0\u65E0\u6548\u5B57\u7B26\u5E8F\u5217")@:0
("Failed to convert locale string to UTF8:
\u8F6C\u6362\u8F93\u5165\u4E2D\u51FA\u73B0\u65E0\u6548\u5B57\u7B26\u5E8F\u5217")@gjs_throw:0
()@/usr/share/gnome-shell/js/ui/dateMenu.js:210
()@/usr/share/gnome-shell/js/ui/dateMenu.js:148
DateMenuButton()@/usr/share/gnome-shell/js/ui/dateMenu.js:44
()@/usr/share/gnome-shell/js/ui/panel.js:932
Panel()@/usr/share/gnome-shell/js/ui/panel.js:794
start()@/usr/share/gnome-shell/js/ui/main.js:147
@<main>:1
'
    JS ERROR: !!!     message = 'Failed to convert locale string to UTF8:
lb�e-���HW&�^W'
窗口管理器警告:Log level 32: Execution of main.js threw exception: Error: Failed to
convert locale string to UTF8: 转换输入中出现无效字符序列
=======================================================

If I comment out the 210 line of /usr/share/gnome-shell/js/ui/dateMenu.js :
 this._date.set_text(displayDate.toLocaleFormat(dateFormat));

gnome-shell will run.

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


More information about the i18n-bugs mailing list