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

Set different LANG environment variable #3644

Open
johrstrom opened this issue Jun 26, 2024 · 0 comments
Open

Set different LANG environment variable #3644

johrstrom opened this issue Jun 26, 2024 · 0 comments

Comments

@johrstrom
Copy link
Contributor

From discourse - https://discourse.openondemand.org/t/empty-job-list-due-to-non-utf8-job-names/3588

I opened this ticket on ood_core - OSC/ood_core#838 as a result, wrote a test case only to find out I couldn't replicate.

I couldn't replicate because the default LANG environment variable in the dashboard is actually C.

Seems like we should set LANG=en_US.UTF-8 somewhere.

Now setting it nginx_stage means folks can't override it with a env file, they need env.overload which isn't clearly documented. So perhaps we should just default to en_US.UTF-8 in the dashboard and perhaps use #{locale}.UTF-8 if the locale is set.

@osc-bot osc-bot added this to the Backlog milestone Jun 26, 2024
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

2 participants