Bug 65815 - KOrganizer couldn't store events in Chinese
Summary: KOrganizer couldn't store events in Chinese
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-10 17:27 UTC by Yun-Ta Tsai
Modified: 2008-09-28 22:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
KOrgranizer .ics file with Chinese text (15.29 KB, text/x-vcalendar)
2003-10-11 06:42 UTC, Yun-Ta Tsai
Details
The Chinese data become a mess. (88.76 KB, image/png)
2003-10-11 06:44 UTC, Yun-Ta Tsai
Details
the Calendar file generated by Evolution (733 bytes, text/x-vcalendar)
2003-10-11 06:49 UTC, Yun-Ta Tsai
Details
the screenshot from Evolution. Works perfect! (125.05 KB, image/png)
2003-10-11 06:50 UTC, Yun-Ta Tsai
Details
KOrganizer in KDE 3.2 Beta1 Screen Shot (47.48 KB, image/png)
2003-11-11 16:55 UTC, Yun-Ta Tsai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yun-Ta Tsai 2003-10-10 17:27:44 UTC
Version:           3.2 pre (using KDE 3.1.9)
Compiler:          gcc version 3.3.2 20030908 (Debian prerelease)
OS:          Linux (i686) release 2.4.22-ck2-bbns

Greeting,
	I found that KOrganizer has some problems while reopening the KOrganizer after save and close the KOrganizer.
The data stored in Chinese became unrecognizable. All I can do is retype them in English.
The problem existed in KDE 3.1.x through 3.2 CVS Head.
	KOrganizer is great program but so far I have to chose Gnome as my personal information manager.

Tim Tsai
Comment 1 Cornelius Schumacher 2003-10-10 17:32:59 UTC
Could you please attach a example calendar file containing chinese text and 
maybe a screenshot how it should look like on screen. If Evolution works ok 
with chinese you could also attach an Evolution generated iCalendar file as 
reference. 
 
Comment 2 Yun-Ta Tsai 2003-10-11 06:42:50 UTC
Created attachment 2735 [details]
KOrgranizer .ics file with Chinese text
Comment 3 Yun-Ta Tsai 2003-10-11 06:44:06 UTC
Created attachment 2736 [details]
The Chinese data become a mess.
Comment 4 Yun-Ta Tsai 2003-10-11 06:49:48 UTC
Created attachment 2737 [details]
the Calendar file generated by Evolution

The file works fine with Evolution but when I open it with KOrganizer, it looks
terrible. I don't know why, because it looks normal under Kate.

However, .ics generated via KOrganizer only few Chinese words are recognizable
under Kate.
Comment 5 Yun-Ta Tsai 2003-10-11 06:50:47 UTC
Created attachment 2738 [details]
the screenshot from Evolution. Works perfect!
Comment 6 Yun-Ta Tsai 2003-10-11 06:56:15 UTC
I think the problem is not only .ics file itself but also KOrganizer because 
the KOrganzier can't even see Chinese with .ics from the Evolution. Both 
of .ics are utf8 format and I have no idea why it doesn't work. 
Comment 7 Reinhold Kainhofer 2003-11-03 10:17:42 UTC
Subject: kdepim

CVS commit by kainhofe: 

Fix KOrganizer's encoding problems:

-) load all files as latin1, unfold long lines and only then interpret it as utf8 (the calendar file is not strictly utf8!!!)
-) Fix utf8-problems with group scheduling (characters are now correctly interpreted as utf8 for everything, LC_* settings are irrelevant. Dirk's patch solved only part of the problem.)
-) Fix all encoding problems that had to do with various settings of the LC_* environment variables, since the calendar file does no longer use local8Bit for anything.
-) This also fixes printing cyrillic text (it was not a printing problem, but again the encoding problem, since local8Bit was used)

CCMAIL: 52404-done@bugs.kde.org, 52687-done@bugs.kde.org, 54023-done@bugs.kde.org, 55387-done@bugs.kde.org, 55541@bugs.kde.org, 59106-done@bugs.kde.org, 59998@bugs.kde.org, 65815-done@bugs.kde.org


  M +4 -0      korganizer/mailscheduler.cpp   1.22
  M +5 -0      korganizer/outgoingdialog.cpp   1.37
  M +2 -0      korganizer/plugins/webexport/exportwebdialog.cpp   1.4
  M +7 -13     libical/src/libical/icalvalue.c   1.10
  M +1 -1      libkcal/calformat.cpp   1.12
  M +3 -3      libkcal/htmlexport.cpp   1.6
  M +11 -4     libkcal/icalformat.cpp   1.52
  M +2 -2      libkcal/icalformatimpl.cpp   1.92



Comment 8 Yun-Ta Tsai 2003-11-11 16:52:33 UTC
Greeting, in KDE 3.2 Beta1 the problem still exists.
Comment 9 Yun-Ta Tsai 2003-11-11 16:55:14 UTC
Created attachment 3151 [details]
KOrganizer in KDE 3.2 Beta1 Screen Shot

The Chinese data still remains unfunctional.
Comment 10 Reinhold Kainhofer 2006-11-02 19:00:20 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 11 Reinhold Kainhofer 2007-01-27 00:37:19 UTC
Do Chinese events it still not work with KOrganizer from the 3.5 releases? I just tried it and -- apart from the fact that I don't have any chinese fonts installed -- it seems to work. At least the same number of characters is shown as in the evo screenshots. I don't know if the right letters are used, but I don't know any reason why not.

Cheers,
Reinhold
Comment 12 George Goldberg 2008-09-28 22:50:19 UTC
I believe this bug is now fixed in KOrganizer with svn trunk r865619 (KDE 4.2). The evolution file (which is encoded in valid UTF-8) imports fine, and displays all the characters correctly in KOrganizer, and when subsequently exported, the .ics file contains all the valid characters.