Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

openwrt docker 中文显示乱码 #220

Open
caixin1218 opened this issue Jan 28, 2024 · 3 comments
Open

openwrt docker 中文显示乱码 #220

caixin1218 opened this issue Jan 28, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@caixin1218
Copy link

Current Behavior

openwrt 软路由安装的docker 中文显示乱码

Expected Behavior

1706443222962

Steps To Reproduce

No response

Environment

  • OS:
  • OS version:
  • CPU:
  • Docker version:
  • Device model:
  • Browser/OS:

Container creation

docker run -d
--name=firefox
-p 5800:5800
/mnt/sda1/docker/firefox:/firefox

Container log

none

Container inspect

No response

Anything else?

No response

@caixin1218 caixin1218 added the bug Something isn't working label Jan 28, 2024
@jlesage
Copy link
Owner

jlesage commented Jan 28, 2024

Did you try to set the ENABLE_CJK_FONT environment variables: -e ENABLE_CJK_FONT=1

@JeazW
Copy link

JeazW commented Mar 11, 2024

wget https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/font-wqy-zenhei-0.9.45-r3.apk
docker cp font-wqy-zenhei-0.9.45-r3.apk firefox:/
docker exec -it firefox sh
apk add font-wqy-zenhei-0.9.45-r3.apk

enjoy it !

@FreeL00P
Copy link

我也是,我觉得更多的原因是因为网络,我看了一下容器的日子,启动后在下一下字体相关的文件而且浏览器不能访问进行使用,我给容器添加代理后 ,这个问题马上就解决了。
I feel the primary reason is due to the network. I checked the logs of the container and found that after startup, it couldn't access font-related files, rendering the browser unusable. Once I added a proxy to the container, this issue was immediately resolved."

ENV-Ubuntu amd64

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants