Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 366 Bytes

utf8-locale.md

File metadata and controls

18 lines (13 loc) · 366 Bytes

Setting up a UTF-8 locale

You may need a UTF-8 locale to run some Ruby applications. For example we've found that Ruby Spec needs such a locale.

RedHat-based: Fedora, Oracle Linux, etc

$ export LANG=en_US.UTF-8

Debian-based: Ubuntu, etc

$ sudo apt-get install -y locales
$ sudo locale-gen en_US.UTF-8
$ export LANG=en_US.UTF-8