Set LANG and LC_CTYPE in bash_profile
authorSteve Youngs <steve@steveyoungs.com>
Sun, 7 Feb 2021 05:53:22 +0000 (15:53 +1000)
committerSteve Youngs <steve@steveyoungs.com>
Sun, 7 Feb 2021 05:53:22 +0000 (15:53 +1000)
Signed-off-by: Steve Youngs <steve@steveyoungs.com>
etc/pkgusr/bash_profile

index ad4323b..7c4b777 100644 (file)
@@ -2,7 +2,10 @@
 # couple of environment settings to ensure sanity
 set +h
 umask 022
-LC_ALL=POSIX
+
+## We live in a unicode world now
+LANG=en_AU.UTF-8
+LC_CTYPE=en_AU.UTF-8
 
 ## PATH
 # The wrappers directory must be the first entry in the PATH.  
@@ -66,7 +69,7 @@ SLACKPKG=/home/steve/download/Slackware/slackware64-current/source
 #  Obviously edit to suit your situation
 
 ### export everything
-export LC_ALL PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_PATH QTDIR
+export LANG LC_CTYPE PATH LESS LESSCHARSET LESSOPEN TZ PKG_CONFIG_PATH QTDIR
 export SUPPRESSLOCALEDIR CHECKUPDATES SLACKPKG
 
 # Make prompt reflect that we are a package user.