Skip to content

Instantly share code, notes, and snippets.

@ygorluiz
Forked from nicks9188/LC_CTYPE.md
Created August 10, 2024 17:29
Show Gist options
  • Select an option

  • Save ygorluiz/bfde0db984b5711a373585ab5babcac9 to your computer and use it in GitHub Desktop.

Select an option

Save ygorluiz/bfde0db984b5711a373585ab5babcac9 to your computer and use it in GitHub Desktop.

Revisions

  1. @nicks9188 nicks9188 revised this gist May 6, 2019. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions LC_CTYPE.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    1) `vi /etc/environment`
    1. `vi /etc/environment`

    add these lines...
    ```
    @@ -7,6 +7,7 @@ LC_ALL=en_US.utf-8
    ```

    Alternatively,
    2) Create locale file manually: `localedef -i en_US -f UTF-8 en_US.UTF-8`

    2. Create locale file manually: `localedef -i en_US -f UTF-8 en_US.UTF-8`

    Explained [here](https://www.thomas-krenn.com/en/wiki/Perl_warning_Setting_locale_failed_in_Debian)
  2. @nicks9188 nicks9188 renamed this gist May 6, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. @nicks9188 nicks9188 created this gist May 6, 2019.
    12 changes: 12 additions & 0 deletions LC_CTYPE.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    1) `vi /etc/environment`

    add these lines...
    ```
    LANG=en_US.utf-8
    LC_ALL=en_US.utf-8
    ```

    Alternatively,
    2) Create locale file manually: `localedef -i en_US -f UTF-8 en_US.UTF-8`

    Explained [here](https://www.thomas-krenn.com/en/wiki/Perl_warning_Setting_locale_failed_in_Debian)