You are not logged in.
I can't figure out how to get ncmpcpp to display Korean(and CJK in general) correctly. I am using Kitty as my terminal. mpc does display korean and Japanese just fine.
mpc:
https://s3.jcde.xyz/public/2021.04.21-1 … d92828088e
ncmpcpp:
https://s3.jcde.xyz/public/2021.04.21-1 … d760f8e5c8
https://s3.jcde.xyz/public/2021.04.21-1 … 82696fcaf8
I've tried setting the LANG variable, but that made no difference.
Last edited by JcdeA (2021-04-21 08:18:15)
Offline
Do you start ncmpcpp from an interactive shell or like "kitty -e ncmpcpp" and does it make a difference?
Output of
localectl
locale -a
localeOffline
❯ localectl
System Locale: LANG=C
VC Keymap: n/a
X11 Layout: n/a
❯ locale -a
C
POSIX
en_US.utf8
❯ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=Offline
I did start ncmpcpp from an interactive shell.
kitty -e ncmpcpp doesn't make any difference.
Offline
You're using a C locale, I'm not even sure how mpc works (except if it internally just changes the locale)
=> fix your locale setup, https://wiki.archlinux.org/index.php/Locale (en_US.utf8 is going to be fine - it hast to be utf-8, no necessarily korean)
Offline
I've already tried setting the LANG variable to utf8(ko_KR.utf8 specifically) already, no difference.
Offline
You do not have that locale available.
Would you please read the link I posted and that's actually part of the installation routine?
Offline
Ahh, seems like I was missunderstanding the locale system all along. Setting en_US.utf8 solved the issue.
Offline
Also, am I right that I should put
export LANG='en_US.utf8'
In /etc/environment?
Just checking in case I'm wrong.
Offline
1. Actually read the link seth provided: it explains exactly what you should do.
2. Edit your first post - read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code
Offline
Sorry, edited.
Offline