Tag Info

New answers tagged

1

The default locale on Debian is in a UTF-8 encoding, at least since wheezy (I don't remember when it switched). So you must have chosen some non-default setting during the installation. putting export LANG=en_US.UTF-8 in my .bashrc file. That's not going to work, because .bashrc is the wrong file. An environment variable defined there only applies to ...


0

First, I am surprised that you are able to update Mint 15 to Debian 7.6. They after all are different distributions. I assume Debian made the decision to use ISO 8859.1 because you are located in Europe and answered some question to that effect regarding the locale.


1

do I need to remember to edit the .bashrc file for every new user account that I create from now on to edit the export line in? The best idea in this case is to put it in a system wide file; first check to see if it's already being set somewhere: grep -R LANG /etc You may or may not want to change anything there. Gilles' answer probably has the ...


1

I would suggest you to change the data-dir directory to one of your own, say /path/to/lib/aspell. Create (or modify) the file ~/.aspell.conf with: data-dir /path/to/lib/aspell Then do the following: mkdir /path/to/lib/aspell cd /path/to/lib/aspell ln -s /usr/lib/aspell/* . rm *.alias *.multi Then for the dictionaries you want, add .multi files based on ...


0

The user pi does not have LC_ALL set in its startup files. The user XX does, and every shell subordinate to su XX will inherit the value of LC_ALL. Find the line export LC_ALL=en_GB.UTF-8 in the .profile/.login/.bashrc/etc. of user XX and add that to the same place in user pi. You might also want to look for something like /etc/default/locale which ...


0

For temporary testing, you don’t actually need to export the environment variables before running the command or program whose behaviour you want to test. If, for example, you want to see how dates are displayed in different locales you could run the following: $ LC_ALL=en_US.utf8 date +%x 07/03/2014 $ LC_ALL=en_GB.utf8 date +%x 03/07/14 For the above ...


0

I provided extra information based on answer @Gnouc (localedef shall be used in centos) The centos docker is a special image which provides minimal packages, see script https://github.com/dotcloud/docker/blob/master/contrib/mkimage-yum.sh rm -rf "$target"/usr/{{lib,share}/locale,{lib,lib64}/gconv,bin/localedef,sbin/build-locale-archive} Inside command ...


2

locale-gen is not present in Centos/Fedora. You must use localedef: localedef -v -c -i en_US -f UTF-8 en_US.UTF-8 From man localedef: NAME localedef - define locale environment SYNOPSIS localedef [-c][-f charmap][-i sourcefile][-u code_set_name] name DESCRIPTION The localedef utility shall convert source definitions for locale ...



Top 50 recent answers are included