repair.sh 681 B

1234567891011121314151617181920212223242526272829
  1. echo "LC_ALL=en_US.UTF-8" >> /etc/environment
  2. echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
  3. echo "LANG=en_US.UTF-8" > /etc/locale.conf
  4. locale-gen en_US.UTF-8
  5. export LANGUAGE=en_US.UTF-8
  6. export LANG=en_US.UTF-8
  7. export LC_ALL=en_US.UTF-8
  8. locale-gen en_US.UTF-8
  9. dpkg-reconfigure locales
  10. # Setting Locale
  11. cat > /etc/default/locale <<-END
  12. LANG=en_US.UTF-8
  13. LC_CTYPE="en_US.UTF-8"
  14. LC_NUMERIC="en_US.UTF-8"
  15. LC_TIME="en_US.UTF-8"
  16. LC_COLLATE="en_US.UTF-8"
  17. LC_MONETARY="en_US.UTF-8"
  18. LC_MESSAGES="en_US.UTF-8"
  19. LC_PAPER="en_US.UTF-8"
  20. LC_NAME="en_US.UTF-8"
  21. LC_ADDRESS="en_US.UTF-8"
  22. LC_TELEPHONE="en_US.UTF-8"
  23. LC_MEASUREMENT="en_US.UTF-8"
  24. LC_IDENTIFICATION="en_US.UTF-8"
  25. LC_ALL="en_US.UTF-8"
  26. END