on master help sign in
Add LANG=C.UTF-8 for proper UTF-8 locale in container
commit3d19ab951226cf3526349c6eadc0f4b78d8504e1 authoriko <mail@iko.soy> dateSun 28 Jun 2026, 04:34 (3 months ago) parenta57a7ef
1 file changed+4
flake.nix+4
flake.nix+4
@@ -201,6 +201,10 @@
201201 # source the fish init) still get 24-bit color. TERM is fixed up
202202 # in the fish prompt init, since the runtime overrides it here.
203203 "COLORTERM=truecolor"
204+ # A UTF-8 locale so tools handle multibyte/wide characters
205+ # correctly. glibc ships C.UTF-8 built in, so this needs no
206+ # locale-archive.
207+ "LANG=C.UTF-8"
204208 # CA trust for every TLS client (curl/git/…) and Nix.
205209 "SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt"
206210 "NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-bundle.crt"