You are not logged in.

#1 2024-03-07 05:34:12

Ranon
Member
Registered: 2023-09-14
Posts: 44

Solved : Fcitx5 missing Chinese Symbols

Hey all!

Any font related questions on the forum seem to be English focused and I cannot find anything chinese related.

I have been learning Chinese and noticed that I kept getting many squares with codes inside on the display when I attempt to type.
I fixed this issue by installing more fonts but I then noticed that I am straight up missing some symbols - super common ones as well.

No matter what combination I cannot find the word eat (chi1 - 吃) on my system. Even when installing new dictionaries and extra fonts.
Using the Unicode function brings me a different symbol entirely (U+5403 = 喫 on my system.)
Unicode Reference page

Is there a way to add single or specific symbols to the dictionary itself to appear on the main display?

I tried using a passphrase and a couple of other work arounds but nothing has worked so far.

Any info would be awesome.

In Use:
Arch LTS Kernel
i3 WM
fcitx5 + GUI config tool
pinyin input method
Traditional Chinese translation

Last edited by Ranon (2024-03-07 08:09:21)

Offline

#2 2024-03-07 06:13:53

keence
Member
Registered: 2024-03-07
Posts: 2

Re: Solved : Fcitx5 missing Chinese Symbols

i recommend rime rather than pinyin input , and use zh_CN.utf8 for good compatibility .
i use those three fonts pkgs to display Chinese characters and emoji: noto-fonts noto-fonts-cjk noto-fonts-emoji . it's enough for me .
if you could read Chinese , there is a Chinese forums for you : https://bbs.archlinuxcn.org/

Offline

#3 2024-03-07 08:08:53

Ranon
Member
Registered: 2023-09-14
Posts: 44

Re: Solved : Fcitx5 missing Chinese Symbols

Silly me, I miss understood the purpose of Rime. I thought it was more like a wrapper to support the pinyin input (since I want to use the pinyin keys rather than the zhuyin).

I swapped it over and it I found the symbol.

So yeah all thinks, appreciate the help!

現在我可以打吃!!!

Offline

#4 2024-03-07 08:45:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,024

Re: Solved : Fcitx5 missing Chinese Symbols

喫 is 55ab, not 5403

#!/bin/sh
if [ -n "$1" ]; then
    codepoint="$1"
else
    codepoint="$(rofi -dmenu -l 0 -width 16 -p Codepoint -theme nodesk)" # ok, you don't have the nodeskt theme :P
fi
if (( 16#"${codepoint}" )); then
    glyph="$(printf $'\U'"${codepoint}")"
else
    glyph="$(printf "${codepoint}" | iconv -futf8 -tutf16 | od -x | head -1 | cut -d" " -f3)"
fi
notify-send -u low -t 2000 "UTF-8: $glyph"
printf "$glyph" | xsel -i

Edit: F5…

Last edited by seth (2024-03-07 08:46:15)

Offline

#5 2024-03-07 10:09:35

keence
Member
Registered: 2024-03-07
Posts: 2

Re: Solved : Fcitx5 missing Chinese Symbols

Ranon wrote:

(since I want to use the pinyin keys rather than the zhuyin)

after setup rime, you could change it to pinyin , just press 'F4' key in somewhere you like to type , then you would see the selections.
设置好rime后,在任何输入框里按‘F4’键可以选择拼音的。

Last edited by keence (2024-03-07 10:18:32)

Offline

Board footer

Powered by FluxBB