Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu 17. Please ensure your locale is set to UTF-8 #41

Open
AlexeyAlexey opened this issue Aug 6, 2018 · 0 comments
Open

ubuntu 17. Please ensure your locale is set to UTF-8 #41

AlexeyAlexey opened this issue Aug 6, 2018 · 0 comments

Comments

@AlexeyAlexey
Copy link

When programs are run in instances that are built from boxes of ubuntu 17, there is the following issue

For example

$ elixir -v

warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell

I use the following strings in the preseed.cfg file to fix it

d-i debian-installer/language string en

d-i debian-installer/country string US

d-i debian-installer/locale string en_US.UTF-8

d-i localechooser/preferred-locale string en_US.UTF-8

d-i localechooser/supported-locales en_US.UTF-8

d-i keyboard-configuration/xkb-keymap select us

(https://github.com/AlexeyAlexey/packer-templates/blob/master/http/ubuntu/preseed.cfg)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant