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

Locales are not available in local docker image #83

Closed
xMrWhite opened this Issue Mar 7, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@xMrWhite
Copy link

xMrWhite commented Mar 7, 2019

  • code-server version: master
  • OS Version: 4.20.8-arch1-1-ARCH

not having locales can cause unexpected behaviour when working with text that is utf-8 encoded

Steps to Reproduce

  1. docker run -p 8443:8443 -v "${PWD}:/root/project" codercom/code-server code-server --allow-http --no-auth
  2. open terminal and type locale -a see en_US.UTF-8 is missing
@nhooyr

This comment has been minimized.

Copy link
Collaborator

nhooyr commented Mar 7, 2019

@xMrWhite What issue are you seeing with this. I can output UTF-8 text fine. Do certain apps disable/enable UTF-8 based on the locale?

@nhooyr

This comment has been minimized.

Copy link
Collaborator

nhooyr commented Mar 7, 2019

Ah it seems they do. Python definitely has issues with this.

nhooyr added a commit to nhooyr/code-server that referenced this issue Mar 7, 2019

nhooyr added a commit to nhooyr/code-server that referenced this issue Mar 7, 2019

nhooyr added a commit to nhooyr/code-server that referenced this issue Mar 7, 2019

@nhooyr nhooyr closed this in #98 Mar 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.