Xshell Forum

problem with encodin utf-8 symbols

Last post: Thursday, June 8, 2017 12:19 PM by Support, 5 reply

 
Tuesday, April 11, 2017 6:52 AM - Lin

problem with encodin utf-8 symbols

 
I am using the latest version of Xshell 5. I have encounter two problems.

First, some special characters like: 🐳 💎 from zsh theme cannot displayed correct in my shell. Ref: https://github.com/denysdovhan/spaceship-zsh-theme
My shell env is UTF-8, connection config from xshell also utf-8.

Second, Korean characters in my shell also cannot displayed.

My windows env:
Windows 7 CHT version.

Program Ver. : Xshell 5
Monday, April 17, 2017 6:47 PM - Support

Re: problem with encodin utf-8 symbols

 
Special UNICODE characters can be shown in the Xshell terminal without issue. Please see the attached image.

However, we currently don't know how the special characters can be used in zsh. Please let us know how you can do so, and we'll further investigate the issue.

Also, multibyte characters such as Korean can be displayed correctly if the next 3 conditions are set the same:

1. The encoding of the Korean text file: eucKR or UTF-8
2. The LANG environment of the terminal: use the echo $LANG command
3. The encoding of Xshell: If the Korean text file is a UTF-8 document, select the Unicode(UTF-8) encoding from the Xshell toolbar. If it is an euckKR document, select More -> Korean in the Xshell toolbar.

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog
Attachment image.png (27.5 KB)  
Friday, May 12, 2017 10:20 AM - Lin

Re: problem with encodin utf-8 symbols

 
Env:
* Windows 7 with Xshell 5
* Ubuntu in Virtual machine
* zsh with spaceship-zsh-theme https://github.com/denysdovhan/spaceship-zsh-theme


According to image file, git symbols can display correctly, but node and docker symbols cannot display it.
Attachment a.PNG (4.1 KB)  
Wednesday, May 17, 2017 6:26 PM - Support

Re: problem with encodin utf-8 symbols

 
Your case depends on the font of Windows. The Windows font that takes over does not have characters other than Linux fonts. Please see the attached image.

And among the various Windows fonts, fonts for terminal are limited.

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog
Attachment image.png (33.6 KB)  
Tuesday, June 6, 2017 2:30 AM - lin

Re: problem with encodin utf-8 symbols

 
In the previous reply I am using Windows 7.

It cannot display Node symbol in web UI and Xshell.

Now I am upgrade to Windows 10. It can display Node symbol in web UI.
But still cannot display in Xshell.

So, if symbols can display in web UI, it doesn't means it can display in Xshell? Right?
Attachment symbol.png (55.3 KB)  
Thursday, June 8, 2017 12:19 PM - Support

Re: problem with encodin utf-8 symbols

 
As mentioned above, fonts for terminal are limited. Web browsers have much more extensibility when it comes to character expressions compared to a terminal emulator.

The characters of the Web UI in the image seem to be using web fonts.

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog