Closed 593769290 closed 5 years ago
Thanks for the report. I'll test it ASAP.
how to optimize the code in lib/http-then.js
line 105:
const res = gen.next(new Buffer(event.data, 'binary'));
need something like?
String.fromCharCode.apply(null, new Uint8Array(event.data))
Thanks for the report. I'll test it ASAP.
can you have time to make a test? it maybe the getWebSocketStream arraybuffer has not be converted properly using utf8 encoding. but i am a newer to nodejs, and I can't understand the code below executing process. const res = gen.next(......) so,i have tried to make it work,but i failed.
I'll try to test it in the upcoming days.
This should be fixed with a4141e193c2e62fc0385f477b95d78c2e32047d4.
Thanks again for the report.
Beautiful! Thanks so much!
kubebox obviously is a great k8s tool for our small team.
But when I setup an environment to running kubebox, I found in the logs terminal Chinese words all changed to ?????????.
The shell windows is OK.
would you please when you are free, task a demo test and debug where is the problem.
the demo test files list:
COPY test.log / COPY run.sh / ENV LANG="C.UTF-8" ENTRYPOINT ["/run.sh"]
!/bin/sh
tail -f -n90 /test.log
在Docker容器bash中输入中文
在Docker容器bash中输入中文
docker alpine版本服务中显示中文
docker alpine版本服务中显示中文
docker alpine版本服务中显示中文
解决docker容器不支持中文的问题
??Docker????bash?????????? │ │ │ │??Docker????bash?????????? │ │ │ │docker alpine?????????????????? │ │ │ │docker alpine?????????????????? │ │ │ │docker alpine?????????????????? │ │ │ │????docker???????????????????? │
2019-04-18T08:21:19.333943583Z 在Docker容器bash中输入中文 2019-04-18T08:21:19.333950662Z 2019-04-18T08:21:19.333954261Z 在Docker容器bash中输入中文 2019-04-18T08:21:19.333958322Z 2019-04-18T08:21:19.333961629Z docker alpine版本服务中显示中文 2019-04-18T08:21:19.333965169Z 2019-04-18T08:21:19.333968374Z docker alpine版本服务中显示中文 2019-04-18T08:21:19.333971711Z 2019-04-18T08:21:19.333974847Z docker alpine版本服务中显示中文 2019-04-18T08:21:19.333978286Z 2019-04-18T08:21:19.333981377Z 解决docker容器不支持中文的问题