How to support input Chinese (UTF-8) in boot2docke

2019-08-18 02:21发布

问题:

How to support input Chinese (UTF-8) in boot2docker(tiny core) /bin/sh (shell)

For support Chinese (UTF-8), I try:

su - docker -c "tce-load  -wi getlocale coreutils "
sudo  getlocale.sh ==> select en_US.UTF-8 ==> enter ==> this will generate mylocale.tce file
su - docker -c "tce-load -i mylocale  coreutils"

Then relogin will Chinese filename is supported now

But bin /bin/sh shell input Chinese has issue: