Tag Info

New answers tagged

0

After some fiddling, I found it was system-related rather than emacs-related. Apparently my locale settings were messed up somehow, as we saw in the OP: locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file ...


2

Background Information I tested the solution on Fedora 21 with GNOME Shell 3.14.4, but I believe it can be applied to other versions as well. First thing to understand is that GNOME desktop environment overrides the system-wide locale definitions and thus is not affected by /etc/locale.conf. In addition, there are might be applications that have their own ...


0

I was using German VPS and couldn't change locale because there was no English language pack installed. After installing I could finally change locale aptitude install language-pack-en


1

What you are seeing There's a terminal emulator program built into the Linux kernel. It doesn't manifest as a running process with open file handles. It's layered on top of the framebuffer and the input event subsystem, which it uses internal kernel interfaces to access. It presents itself to application-mode systems as a series of kernel virtual terminal ...


1

The Linux console itself does not support displaying Chinese, but you can run some alternative console(such as kmscon) to display Chinese without starting X.


0

Use localectl command to set. Following is an example localectl status # to display locale settings localectl set-locale LANG=en_GB.utf8 # to set the Language localectl list-locales # to lists locales locale list-keymaps # list keyboard mappings locale set-keymap uk # sets the key map


1

In the Debian documentation I found that the default locale was defined in /etc/default/locale, so if you have root access and you are not searching for a way to set a locale per user, I think this is the easiest way...


22

That's a consequence of those characters having the same sorting order. You'll also notice that sort -u << EOF ■ ⅕ ⅖ ⅗ EOF returns only one line. Or that: expr ■ = ⅕ returns true (as required by POSIX). Most locales shipped with GNU systems have a number of characters (and even sequences of characters (collating sequences)) that have the same ...


-1

You are doing it wrong, = and == are not the same. Try these examples: if [[ "■" == "[⅕⅖⅗]" ]] ; then echo yes ; else echo no ; fi if [[ "1" == "1" ]] ; then echo yes ; else echo no ; fi if [[ "■" == "■" ]] ; then echo yes ; else echo no ; fi



Top 50 recent answers are included