Sample Header Ad - 728x90

setting system locale to C...what is the appropriate charmap?

0 votes
1 answer
241 views
i use arch and want to set my whole system's locale to C (and only C). C isn't listed inside /etc/locale.gen (and only en_US.UTF-8 UTF-8 is uncommented) but C is found inside /usr/share/i18n/locales/. i ran command localectl set-locale C and logged out/in, and command locale shows C for everything -- good. my questions are: * do i need to comment out line en_US.UTF-8 UTF-8 inside file locale.gen and run command locale-gen to remove the other undesired locale remnants from my system? * before running command locale-gen should i append C to file locale.gen, and if so, what `` is standard for it? i look inside directory /usr/share/i18n/charmaps/ but do not see anything like C.gz inside. is UTF-8.gz correct or ANSI_X3.110-1983.gz or an ISO-*/ISO_* one? i run command localectl list-locales and see: C.UTF-8 en_US.UTF-8 does this mean my locale is not entirely and only C and i have unwanted remnants of others?
Asked by leetbacoon (383 rep)
Mar 10, 2025, 06:04 AM
Last activity: Mar 10, 2025, 08:23 AM