localedef in fedora docker container

asked 2016-07-31 15:57:22 -0600

Eric J. Van der Velden gravatar image

In a fedora container,

[root@19dfa7ee3596 /]# locale -a

I wanted to create en_US.utf8. I tried,

root@19dfa7ee3596 /]# localedef -i en_US -f UTF-8 en_US.utf8 character map file `UTF-8' not found: No such file or directory.

On centos there already is a locale en_US.utf8, but if you do the localedef command above (with another name at the end), it works.

My questions are: how to make it work on a fedora container, and also what is C? How does it differ from en_US?

edit retag flag offensive close merge delete