The terminal uses environment variables to determine which character set to use, therefore you can determine it by looking at those variables:
echo $LC_CTYPE
or
echo $LANG
More Related Contents:
- Save modifications in place with awk
- Why should eval be avoided in Bash, and what should I use instead?
- How to fix ‘sudo: no tty present and no askpass program specified’ error?
- How to merge two “ar” static libraries into one?
- Deploying Yesod to Heroku, can’t build statically
- How to add a default include path for GCC in Linux?
- Add a prefix string to beginning of each line
- Is there a way to ‘uniq’ by column?
- How to loop over directories in Linux?
- docker.sock permission denied
- How to redirect stderr and stdout to different files in the same line in script?
- Handling multiple SIGCHLD
- What does O_DIRECT really mean?
- Compiling C++ on remote Linux machine – “clock skew detected” warning
- Is it OK to use the same input file as output of a piped command?
- Why can’t capture SIGSEGV using signalfd?
- How to get the command line args passed to a running process on unix/linux systems?
- Find files and tar them (with spaces)
- Linux: ‘Username’ is not in the sudoers file. This incident will be reported [closed]
- Redirecting command output in docker
- Comparing Unix/Linux IPC
- How to get file creation date/time in Bash/Debian?
- Difference between PID and TID
- Doesn’t sh support process substitution
- Understanding the Linux oom-killer’s logs
- find a pattern in files and rename them [closed]
- Linux shell script to add leading zeros to file names
- Using software floating point on x86 linux
- Negate if condition in bash script
- Changing environment variable of a running process