Fix knode can not view cjk news groupname. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 32700 [details, diff] kdepim-3.2.2-cjk.diff knode patch for cjk users
Will test this on Monday.
use cjk flag in your ebuild if you are cjk users
it works for kdepim-3.2.3 too.
For none zh_CN users, you may have to modify the following source in the patch, 34 is for Simplified Chinese, i do not know what is for Japanese or Korean, sorry about that*^_^* - a_ctSetCharset->setCurrentItem(0); + a_ctSetCharset->setCurrentItem(34);
I wanted to try it but I don't know any news group which has Japanese name :(
Created attachment 34429 [details] snapshot-zh_CN.png Snapshot for Simplified Chinese on webking.online.jn.sd.cn You guys can try, i am sure that you will get lots of ??? without this patch*^_^*
Right. The patch actually displays Chinese newsgroup name under correct LC_* environemnt. kde team: do you mind if I add the patch to kde-3.2.3 (and kde-3.3.0_alpha1)?
do what ever you want with my patches.My patches are GPL like Gentoo other patches. But i really like to test with japnese and korean users first. If there is a problem with my patch, i can fix it ASAP. I am working on Gentoo chinese local portage project. We got lots of patches to help cjk users, but most of them are hack for chinese, so i have to fix them first before i submit here.
Jackey, I was asking for KDE herd people to include the patch. It is not us (cjk herd) but they (kde herd) who maintain kdepim. For example, if they want to upgrade kdepim to, say, 3.4.0 and find cjk patch fails, they should fix it (Of course they may ask it to cjk herd or directory to you). So it is important to inform them what's going on.(They are the primary maintaining herd) As for the patch, I never heard of Japanese newsgroup name (I used to read fj.* and japan.*, the most famous newsgroups among Japanese, and they use only ascii characters for newsgroup name). So I think it's ok to ignore Japanese in this respect (not sure about Korean).
Finally I added the patch to CVS. It also applies to kdepim-3.3.1, and works with Chinese news group name. If there is any Japanese news group, I'll modify the patch to incorporate it. Jackey, sorry for the delay and thanks for the contribution.
Thx Mamoru, Did you try my amarok patch yet? http://bugs.gentoo.org/show_bug.cgi?id=67915 This patch is a little bit dirty but works, you can modified if you want to. Do you realize that juk also had a CJK problem, since the orignal developer refused to add following patch into KDE, i think we can just add as CJK patch. http://bugs.gentoo.org/show_bug.cgi?id=51582 Recently, i put all our protage project into cvs, you can find it from http://www.magiclinux.org/viewcvs.cgi, we started a local USE flag called glc(Gentoo Linux Chinese) to make a difference with cjk, and you can always download latest cjk patch from there. I will try to update all the previous patches i submitted *^_^*, cross my big fingers.
Yeah, I know, but I'd like to test it over again because the last time I checked kde-3.3.x was not yet released. Thanks anyways. P.S. I tried to access the ViewCVS site but got Forbidden error. Will you have a look at its permission?
woops, should be http://www.magiclinux.org/cgi-bin/viewcvs.cgi/
BTW, this patch set default encoding to zh_CN.GB18030 if you want to setup to your encoding, just change the number to your encoing a_ctSetCharset->setCurrentItem(34); Good luck guys
Has someone posted this patch here? http://bugs.kde.org/show_bug.cgi?id=46989
Jackey: I suppose `use linguas_zh_CN` is better than `use cjk`, what do you think about it? (linguas_zh_CN is set if LINGUAS contain "zh_CN") Gregorio: I'm afraid the patch is for localisation purpose and shouldn't be applied KDE wide. However, it's good to let knode upstream know that there are Chinese users facing this problem and we have a workaround for it. Jackey, would you post your comment to the bug shown in comment #16?