SCIM / Wiki / FAQ / General / How to solve the error of "locale: cannot set LC_CTYPE to default locale: No such file or directory" and similar?    


Left menu


Created

17/07/2005 12:32:51 am
by Cougar Liu

Last updated

17/07/2005 12:40:09 am
by Cougar Liu

Authors

Cougar Liu



Right menu

Not logged in

Quick Poll

Which distro?

Under which linux distribution or OS do you use SCIM.

  Result

Contributors

User information

There are registered and anonymous users online.

Stats


How to solve the error of "locale: cannot set LC_CTYPE to default locale: No such file or directory" and similar?

If you got this error, that means the environmental variable (in this case, it is LC_CTYPE) does not contain a reconganizable locale your system knows. This may be caused by two possibilities:

  1. The locale you set to LC_CTYPE is misspelled;
  2. The locale you specified is not installed in your system, in order to find out whether this is the case, do a

    locale -a

    and see whether the locale you specified is contained in the output of that command. If it can not be found in the output, then you have to install that locale. Please refer to the doc about how to configure SCIM.

Comments

You are not allowed to create comments. Please log in or register a new user.