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

Don't force "en_US.utf8" locale #73

Merged
merged 1 commit into from
Jul 26, 2018
Merged

Don't force "en_US.utf8" locale #73

merged 1 commit into from
Jul 26, 2018

Commits on Jul 24, 2018

  1. Don't force "en_US.utf8" locale

    Instead of using setlocale(LC_CTYPE, "en_US.utf8") and thus forcing "en_US" we
    now use setlocale(LC_CTYPE, "") which configures the program to use the default
    locale's character set instead of forcing the uber-portable "C" or "POSIX"
    locale.  (see "man 3 setlocale").
    
    On a sane system this will use UTF-8, we do not care about insane systems.
    
    The main advantage of this change is that it allows to use docker containers
    without running "locale-gen" in the container thus making the image smaller.
    niklas88 committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    288fea8 View commit details
    Browse the repository at this point in the history