On Thu, Mar 06, 2025 at 05:11:55PM +0100, BESSOT Jean-Michel wrote:
> Hello
>
> I have a problem the accented characters showing _ in shell . I have
> installed and configured spleen font. put LANG and LC_CTYPE to fr_FR.UTF-8
> but it do not show up. If you have an idea ?
>
> here locale command:
>
> jean-mi@x1:~$ locale
> LANG=fr_FR.UTF-8
> LC_COLLATE="fr_FR.UTF-8"
> LC_CTYPE=fr_FR.UTF-8
> LC_MONETARY="fr_FR.UTF-8"
> LC_NUMERIC="fr_FR.UTF-8"
> LC_TIME="fr_FR.UTF-8"
> LC_MESSAGES="fr_FR.UTF-8"
> LC_ALL=
The locale looks fine.
Are you running in X11 or on console?
The console does not support UTF-8. You will need to run X11.
To get a working setup you can then tweak, put this line into ~/.xsession:
export LC_CTYPE=fr_FR.UTF-8
And log in via xenodm.
Configure a font which xterm can use. For example, put this line:
XTerm*faceName: DejaVu Sans Mono
into ~/.Xdefaults and then run
xrdb -merge ~/.Xdefaults
A newly started xterm should now show accented characters.
No comments:
Post a Comment