Skip to content

Instantly share code, notes, and snippets.

@ChrisTitusTech
Created October 27, 2020 21:51
Show Gist options
  • Save ChrisTitusTech/f55e2fd0b39b268fed251d12bd91b5e8 to your computer and use it in GitHub Desktop.
Save ChrisTitusTech/f55e2fd0b39b268fed251d12bd91b5e8 to your computer and use it in GitHub Desktop.

Revisions

  1. ChrisTitusTech created this gist Oct 27, 2020.
    6 changes: 6 additions & 0 deletions fixlocale.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #!/bin/bash

    echo "LC_ALL=en_US.UTF-8" | sudo tee -a /etc/environment
    echo "en_US.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
    echo "LANG=en_US.UTF-8" | sudo tee -a /etc/locale.conf
    sudo locale-gen en_US.UTF-8