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

Suggest to have better support for CJK language on RDP #147

Open
kinetixjohnsonlee opened this issue Apr 22, 2022 · 1 comment
Open

Suggest to have better support for CJK language on RDP #147

kinetixjohnsonlee opened this issue Apr 22, 2022 · 1 comment

Comments

@kinetixjohnsonlee
Copy link

Is your feature request related to a problem? Please describe.
For each start rdp, I find CJK fonts is gone and default locate is missed, It will cause:

  1. wine failed to display CJK words handle in apps, such as notepad++ with chinese.
  2. For CJK apps, windows title do not show correctly

Describe the solution you'd like
Default install one of CJK font in docker image, such as fonts-noto-cjk, which I install once start
Automatically add .profile in user home which adding "LANG=en_US.UTF-8" and "LC_ALL=en_US.UTF-8" for non ASCII string handling

Describe alternatives you've considered

@kinetixjohnsonlee
Copy link
Author

I find strange issue that recent latest docker image (854e6c3810ba) from docker hub do not load .profile while login and x-terminal, so I change set locale with ubuntu default config (/etc/default/locale). (run it after started docker-wine and before RDP login)

docker exec -it wine bash -c "echo LANG=\"en_US.UTF-8\" >> /etc/default/locale"
docker exec -it wine bash -c "echo LC_ALL=\"en_US.UTF-8\" >> /etc/default/locale"
docker exec -it wine bash -c "echo LANGUAGE=\"en_US:en\" >> /etc/default/locale"

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

No branches or pull requests

1 participant