Xmanager Forum

XManager 5 Xterm doesn't properly display UTF-8 Characters

Last post: Thursday, June 8, 2017 12:29 PM by Support, 1 reply

 
Monday, June 5, 2017 7:55 PM - TJG

XManager 5 Xterm doesn't properly display UTF-8 Characters

 
When I log into my CentOS 7 hosts using an xterm in Xmanager 5, I get garbled characters. For example:

$ touch himom
$ rm -i hi*
rm: remove regular empty file â?

Via some searching, I was able to find that this happens because LC_ALL is set to en_US.UTF-8 and xterm by default doesn't support this. If I set LC_ALL to Latin 1, it displays correctly:

$ export LC_ALL=en_US.819
$ rm -i hi*
rm: remove regular empty file 'himom'?

But I don't want to have to override LC_ALL. I'd rather have it work with UTF-8. Is there a way to get Xmanager 5 Xterm to honor UTF-8?

Program Ver. : Xmanager 5
Connect Method : Xstart connection
Thursday, June 8, 2017 12:29 PM - Support

Re: XManager 5 Xterm doesn't properly display UTF-8 Characters

 
You're right. Changing encoding or LC_* variables is not the answer. There must have be another issue.

X applications should load the proper resources according to the language and encoding when it initiates. Therefore, If you'd like to use UTF-8 encoding, xterm needs to load the resources related to UTF-8.

Try the following:

1. Make sure the LANG is UTF-8 where xterm will be called
2. Run xterm
3. In the xterm terminal, the LANG should be UTF-8 as well.

In your case, I believe the LANG of Step 1 above was something else other than UTF-8.

Technical Support

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