m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/locale.md
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2018-03-17 20:13:53 +0100
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2018-03-17 20:13:53 +0100
commit5a34032fe4d83de1ccbf9cf8e13fc6bfb4f668ce (patch)
tree22961c3008efa7cfbab13f6c69c21d4e8807b8c5 /locale.md
Initial commit
Diffstat (limited to 'locale.md')
-rw-r--r--locale.md19
1 files changed, 19 insertions, 0 deletions
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