[Geany-Devel] UTF-8 in geany's termina, eg. ș

Colomban Wendling lists.ban at xxxxx
Sat Oct 21 22:25:11 UTC 2017


Hi Marius,

Le 21/10/2017 à 06:49, marius buzea a écrit :
> I would like to share a simple use-case with Geany.   Here it is:  you go to the Geany's terminal and
> you list a directory that contains files with names containing 'ș'.  It may be that instead of 'ș' you see
> '??'.

That's very odd, because I've never seen this problem, and use UTF-8
characters occasionally (I'm French and we do have é, è, ê, ô, etc.) and
have never ever seen this problem.  I just tested with Geany with
LANG=C.UTF-8 and it does work just fine.

You might see a problem if the encoding of one of the locale environment
variables is not properly set to UTF-8: e.g. if I set LANG=C (so not
specifying the encoding) I do see what you mention; but not if I
properly set the encoding using LANG=C.UTF-8.

What is the output of `env | grep -E '^(LC|LANG)'`?  If any of those
variables doesn't properly have an encoding set it might be the reason.

Regards,
Colomban


More information about the Devel mailing list