From 5a34032fe4d83de1ccbf9cf8e13fc6bfb4f668ce Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Sat, 17 Mar 2018 20:13:53 +0100 Subject: Initial commit --- locale.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 locale.md (limited to 'locale.md') diff --git a/locale.md b/locale.md new file mode 100644 index 0000000..abecb35 --- /dev/null +++ b/locale.md @@ -0,0 +1,19 @@ +# Locale tweaks + +Every time after a clean install I have problems with multibyte (Polish) +characters not being handled by the terminal properly. To solve this: generate +both the `en_US` and `pl_PL` utf8 locales, then create a `.config/locale.conf`: + + LANG="pl_PL.utf8" + LC_MESSAGES="en_US.utf8" + LC_TIME="en_US.utf8" + LC_NUMERIC="en_US.utf8" + LC_MEASUREMENT="en_US.utf8" + LC_MONETARY="en_US.utf8" + LC_CTYPE="pl_PL.utf8" + +## Polish font for console + + # /etc/vconcole.conf + KEYMAP=pl2 + FONT=lat2-16 -- cgit v1.2.3