Hi Daniele, Daniele Bonini wrote on Fri, May 01, 2020 at 07:13:02PM +0200:
> I need to work on unicode characters, expecially Chinese characters. > > So I set this in my .profile: > > export LC_CTYPE=zh_CN.GB18030 OpenBSD supports exactly one character encoding: UTF-8. There is no plan to ever support any other character encoding, and in fact even if someone would send a perfect diff to support some other character encoding, i would strongly oppose committing it. If you have some file(s) using a different character encoding, please install the "iconv" package and convert them to UTF-8 before using these file(s). > But launching Terminal in Xfce4 I get: > > (process:47941): xfce4-terminal-WARNING **: 18:51:15.832: Locale not > supported by C library. That message is completely correct and describes perfectly what is going on. Also, the "zh_CN" part is intentionally completely ignored by the OpenBSD base system. Exactly two locales are supported: POSIX and en_US.UTF-8. Retry with the latter. Using zh_CN.UTF-8 may make a difference for some ports, but with respect to the base system, it is exactly identical to en_US.UTF-8. Yours, Ingo
