[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17806963#comment-17806963
 ] 

Jimmy commented on GUACAMOLE-1726:
----------------------------------

[~mjumper] when using the latest docker images (guacd & guacamole & mysql), I 
see this issue. !img-error-japanese-docker.png!

But, when building the guacd & guacamole binaries from the guacamole projects 
and using them, I can't see this issue.

!img-normal-japanese-native.png!

I've analyzed this issue and I've found the root cause.
This issue occurrs because the guacd docker image doesn't have a font package 
to show the Japanese text.

When I run the following commands to install the font package for the CJK text 
in the guacd docker container, I see the correct Japanese text:
{code:java}
$ docker exec -it --user=root some-guacd /bin/sh
/ # apk add font-noto-cjk
/ # exit {code}
!img-correct-japanese-docker.png!

[~teju256] you can use the above solution to fix this issue temporarily until 
the official guacamole has a fix of this issue.

[~mjumper] I've created a pull request for fixing this issue: 
[https://github.com/apache/guacamole-server/pull/479]

Thanks.

> Japanese characters display garbled in terminal when using guacd docker image
> -----------------------------------------------------------------------------
>
>                 Key: GUACAMOLE-1726
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1726
>             Project: Guacamole
>          Issue Type: Bug
>          Components: guacd-docker
>    Affects Versions: 1.4.0
>            Reporter: Tejaswi
>            Priority: Minor
>         Attachments: Screenshot 2022-12-12 015622.png, 
> img-correct-japanese-docker.png, img-error-japanese-docker.png, 
> img-normal-japanese-native.png, text.txt
>
>
> I have a linux virtual machine that has a txt file with some Japanese 
> characters, encoded with UTF-8 by default. I'm using the latest version of 
> official guacd docker image and web server running in my local to ssh to it 
> and the japenese characters display garbled in the terminal.  This issue is 
> only happening when using guacd docker image, not seeing any issues when I 
> run the guacamole-server natively.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to