GNOME Bugzilla – Bug 476177
Crash on non-utf8 characters
Last modified: 2008-04-13 15:06:57 UTC
What were you doing when the application crashed? Distribution: Ubuntu 7.10 (gutsy) Gnome Release: 2.19.92 2007-09-04 (Ubuntu) BugBuddy Version: 2.18.1 System: Linux 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 X Vendor: The X.Org Foundation X Vendor Release: 10300000 Selinux: No Accessibility: Disabled GTK+ Theme: Glossy Icon Theme: Tango Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0 CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0 Gimmie Version: 0.2.7 Traceback (most recent call last):
+ Trace 162320
cmp((item1.get_name() or "").lower(), (item2.get_name() or "").lower())
Gimmie display unicode characts utf-8 code well , but chars in other encoding may cause it core. biff@biffasus:~$ env | grep -i lang LANG=zh_CN.GB18030 GDM_LANG=zh_CN.GB18030 LANGUAGE=zh_CN.GB18030 biff@biffasus:~$
*** Bug 458507 has been marked as a duplicate of this bug. ***
*** Bug 470809 has been marked as a duplicate of this bug. ***
Thanks for the report, BiFF! Is this occuring when you are searching for something or how can you reproduce this bug?
I'v change my enviroment to zh_CN.UTF-8 in last 3 days (it was zh_CN.GB18030 before ) and , Gimmie works well ! btw,if you want to reproduce the crash,..... create a tomboy note, give the note a unicode title ( my notes all with chinese topic ) the note looks like this : ================================================================= biff@biffasus:~/.tomboy$ env | grep -i lang LANG=zh_CN.UTF-8 GDM_LANG=zh_CN.UTF-8 biff@biffasus:~/.tomboy$ file c8244ee2-e9d6-4b2e-a8c9-f8dd16115587.note c8244ee2-e9d6-4b2e-a8c9-f8dd16115587.note: Unicode text, UTF-8 biff@biffasus:~/.tomboy$ cat c8244ee2-e9d6-4b2e-a8c9-f8dd16115587.note <?xml version="1.0" encoding="utf-8"?> <note version="0.2" xmlns:link="http://beatniksoftware.com/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size" xmlns="http://beatniksoftware.com/tomboy"> <title>联系电话</title> <text xml:space="preserve"><note-content version="0.1">联系电话 6820 杨</note-content></text> <last-change-date>2006-09-21T09:13:43.1413500+08:00</last-change-date> <create-date>2006-09-21T09:09:25.0652980+08:00</create-date> <cursor-position>4</cursor-position> <width>548</width> <height>360</height> <x>0</x> <y>0</y> <open-on-startup>False</open-on-startup> </note>biff@biffasus:~/.tomboy$ ======================================================================== title with Chiese chars will display as filename at Library->notes in Gimmie if lang=zh_CN.utf-8,all things goes well , but if the lang configured to zh_CN.GB18030,gimmie crash when show the title!
*** Bug 480979 has been marked as a duplicate of this bug. ***
*** Bug 483368 has been marked as a duplicate of this bug. ***
*** Bug 501063 has been marked as a duplicate of this bug. ***
*** Bug 522696 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 419093 ***