libpinyin / ibus-libpinyin

GNU General Public License v3.0
632 stars 90 forks source link

unwanted traditional characters like "喫" instead of "吃" #467

Open mariohaya opened 5 months ago

mariohaya commented 5 months ago

Traditional pinyin prints out weird characters like "喫" instead of "吃", 裏 instead of 裡,etc. Is there a way to solve this? Even though these are traditional characters, they are not used anymore.

epico commented 5 months ago

Which Linux distribution are you using?

mariohaya commented 5 months ago

Which Linux distribution are you using?

Debian. FYI, my temporary solution has been to use the "New Zhuyin" input method in which you can configure "Chinese Pinyin" as your keyboard layout. So you can use pinyin or zhuyin and it will print out traditional characters and their correct versions.

epico commented 5 months ago

Maybe this is similar to https://github.com/libpinyin/ibus-libpinyin/issues/453 .

dheera commented 2 months ago

Same problem here. Extremely frustrating, this has been this way for almost 10 years and still not fixed. fcitx5 with opencc profile set to "s2tw" works well but I really wish ibus could fix this.

epico commented 2 months ago

I think in ibus-libpinyin there are /com/github/libpinyin/ibus-libpinyin/libpinyin/opencc-config in dconf. You can set the dconf value to s2tw.json.

dheera commented 2 months ago

Thanks, that fixed it. I'd recommend that be the default setting, I don't know any part of the world that writes it as 喫, even if it exists, it is definitely not the majority.

epico commented 2 months ago

The ibus-libpinyin 1.15.8 will use s2tw.json by default.