Skip to content

Files

Latest commit

bbe7417 · May 13, 2021

History

History
24 lines (19 loc) · 494 Bytes

utf8-locale.md

File metadata and controls

24 lines (19 loc) · 494 Bytes
layout toc_group link_title permalink
docs-experimental
ruby
Setting up a UTF-8 Locale
/reference-manual/ruby/UTF8Locale/

Setting Up a UTF-8 Locale

You may need a UTF-8 locale to run some Ruby applications. For example we have 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