Page 1 of 2

Locales UTF-8 some problem

Posted: Sat May 16, 2020 2:26 pm
by wassereimer
Hi,

i have the problem that some characters are not displayed correctly. In nano it´s "last word" and "next word". Also when i paste this "↳" in the console i just get a square.

My RPI4 runs the latest DeitPi version headless and i use Putty (set to UTF-8) on Windows 10.

These are my locales:

Code: Select all

LANG=de_DE.UTF-8
LANGUAGE=
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=de_DE.UTF-8
What is the problem in my case? Can anybody help?

Thanks for any help and suggestion.

Re: Locales UTF-8 some problem

Posted: Sat May 16, 2020 10:44 pm
by trendy
I pasted ↳ in securecrt and worked fine.
I use these locale

Code: Select all

LANG=en_GB.utf8
LANGUAGE=en_GB.utf8
LC_CTYPE="en_GB.utf8"
LC_NUMERIC=el_GR.utf8
LC_TIME=el_GR.utf8
LC_COLLATE=C
LC_MONETARY=el_GR.utf8
LC_MESSAGES="en_GB.utf8"
LC_PAPER=el_GR.utf8
LC_NAME=el_GR.utf8
LC_ADDRESS=el_GR.utf8
LC_TELEPHONE=el_GR.utf8
LC_MEASUREMENT=el_GR.utf8
LC_IDENTIFICATION=el_GR.utf8
LC_ALL=

Re: Locales UTF-8 some problem

Posted: Sat May 16, 2020 10:55 pm
by Joulinar
for me it looks like this and all working fine, as well I'm using putty with default settings

Code: Select all

root@DietPi4:~# locale
LANG=
LANGUAGE=
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=de_DE.UTF-8
root@DietPi4:~#
As well I found this entry on the web, offering quite some options to work around incorrect displayed characters

https://serverfault.com/questions/47592 ... characters

Re: Locales UTF-8 some problem

Posted: Sun May 17, 2020 1:24 am
by wassereimer
First thank you for the replys. :)

I tried connecting with the Windows Powershell, just to make sure that it´s not Putty´s fault, but there i have the same problem.

@Joulinar I checked the link and my settings already match the mentioned ones.

I want to clearify that not all is garbage but in a few spots i have a problems. So it must be specific characters that not work. As the mentioned one in the first post.

I also tried reconfiguring the locales directly and in the dietpi-config but nothing changed.

Re: Locales UTF-8 some problem

Posted: Thu May 21, 2020 2:00 pm
by wassereimer
Anyone an idea?

I had a last one: Which font do you use where the mentioned character works?

Re: Locales UTF-8 some problem

Posted: Thu May 21, 2020 3:06 pm
by Joulinar
Do you mean the font settings in Putty client?

Re: Locales UTF-8 some problem

Posted: Thu May 21, 2020 3:18 pm
by wassereimer
Correct. Mine is set like this:

Image

And the Translation is set like this:

Image

Re: Locales UTF-8 some problem

Posted: Thu May 21, 2020 3:21 pm
by Joulinar
Ok let me check once I'm back home. Currently I'm out due to the public holiday we have ;)

Re: Locales UTF-8 some problem

Posted: Fri May 22, 2020 1:28 am
by Joulinar
my putty settings are same as yours

Re: Locales UTF-8 some problem

Posted: Mon May 25, 2020 9:45 pm
by wassereimer
Thank you for the information. I just tested it on my Android phone using JuiceSSH. It worked. Now i'm confused and also it´s clear that it doesn`'t seem to be the DietPi. But what can it bee if Putty is set up correctly? Any ideas?