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

Inconvenient appserver locale 'POSIX' #41

Closed
drubb opened this issue Nov 22, 2022 · 1 comment
Closed

Inconvenient appserver locale 'POSIX' #41

drubb opened this issue Nov 22, 2022 · 1 comment

Comments

@drubb
Copy link

drubb commented Nov 22, 2022

This might not be limited to Drupal recipes:

When entering the appserver container (lando ssh), or issuing Drush commands (lando drush) there's no supprt for special chars, e.g. German umlauts. The reason is, that the container's locale is set to POSIX:

www-data@ad5a078ae96d:/app$ locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=
www-data@ad5a078ae96d:/app$

I'd expect to see a locale based on UTF-8, like en_US.UTF-8. Is this an issue with the upstream Bitnami images? And how can it be fixed?

@drubb drubb added the drupal label Nov 22, 2022
@rtfm-47 rtfm-47 transferred this issue from lando/lando Nov 22, 2022
@reynoldsalec
Copy link
Member

I think OP is correct in assuming this is a bitnami issue: bitnami/minideb#151

Going to close this out, we're planning on using offical Docker images for Lando 4, so likely this problem will be kicked to the defaults used by those services. It could make sense for Lando to set these values on boot, so I'll add a Lando 4 tag to this issue in case someone can reference it down the road.

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

No branches or pull requests

3 participants