Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-01-30 06:14:49

wuwei
Member
From: Italy
Registered: 2017-01-29
Posts: 58

[SOLVED] Strange chars displayed in xfce4-terminal

Hi, I've a problem reading the .desktop files located in /usr/share/applications.
My system is the latest Arch Linux in a VMWare Fusion VM, so when I open in xfce4-terminal a .desktop file (for example: exo-mail-reader.desktop), many items "Name" or "Comment" are displayed incorrectly. Instead, if I open the same file with a text editor such as Mousepad all is displayed correctly.

For comparison, I also checked the default character encoding in the Xubuntu xfce4-terminal which is "Default (UTF-8)" and all is ok, in arch the default was "(ANSI_X3.4-1968)", I've tried to change to UTF-8 with no success.
What's wrong? Something missing or set incorrectly?
Thanks.

screenshot arch linux

screenshot xubuntu

Last edited by wuwei (2017-01-30 11:04:36)

Offline

#2 2017-01-30 11:00:54

wuwei
Member
From: Italy
Registered: 2017-01-29
Posts: 58

Re: [SOLVED] Strange chars displayed in xfce4-terminal

I've resolved by myself adding in .bashrc:
export LANG=en_US.UTF-8
echoing $LANG said:
C

Thanks.

Last edited by wuwei (2017-01-30 11:01:05)

Offline

#3 2017-01-30 11:30:43

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,493

Re: [SOLVED] Strange chars displayed in xfce4-terminal

Make sure that your locale is set up correctly.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 524.05 KiB (Peak: 531.21 KiB) ]