Bug 220766

Summary: When knotes send via net, it doesn't support unicode and force everything convert to ascii. (with patch)
Product: [Applications] knotes Reporter: timchen119
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: knotes unicode patch

Description timchen119 2009-12-31 04:57:24 UTC
Version:            (using Devel)
Compiler:          gcc version 4.4.2 (Gentoo 4.4.2 p1.0)  
OS:                Linux
Installed from:    Compiled sources


Problem:
When knotes send notes via network, it doesn't support unicode and force everything convert to ascii. 

Expect:
every unicode character (eg: CJKV characters) should be fine.

Solution:
A better solution is to convert our string to unicode via system locale, and convert back when received on another host. that makes we could get correct messages if two host have same locales.
Comment 1 timchen119 2009-12-31 05:00:15 UTC
Created attachment 39470 [details]
knotes unicode patch
Comment 2 Allen Winter 2010-01-09 20:24:43 UTC
SVN commit 1072266 by winterz:

timchen119's patch for supporting Unicode in notes.
thanks for the patch!
BUG:220766
MERGE: 4.4


 M  +4 -1      knotesnetrecv.cpp  
 M  +6 -6      knotesnetsend.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1072266
Comment 3 Allen Winter 2010-01-16 23:33:36 UTC
SVN commit 1075869 by winterz:

backport SVN commit 1072266 by winterz:

timchen119's patch for supporting Unicode in notes.
thanks for the patch!
CCBUG:220766


 M  +4 -1      knotesnetrecv.cpp  
 M  +6 -6      knotesnetsend.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1075869
Comment 4 Allen Winter 2010-01-16 23:34:15 UTC
SVN commit 1075870 by winterz:

backport SVN commit 1072266 by winterz:

timchen119's patch for supporting Unicode in notes.
thanks for the patch!
BUG:220766


 M  +4 -1      knotesnetrecv.cpp  
 M  +6 -6      knotesnetsend.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1075870