Re: freebsd and utf-8 directory names

From: Jamie Landeg-Jones <jamie_at_dyslexicfish.net>
Date: Tue, 01 Jul 2014 18:40:24 +0100
M&S - Krasznai Andr??s <Krasznai.Andras_at_mands.hu> wrote:

> xfe display the file and directory names correctly together with creation date and time (simple 'ls' does not; it shows double question marks in the place of Hungarian characters. 
>
> ls | od -c  
>
> shows that such characters are represented in ls output as two characters e.g. 241 253 or such, I can test again but now I do not remember the exact numbers; the first of the two is the same for all Hungarian characters)

That says to me that your locale is still not set correctly.

The ls on it's own could be due to a non-compatible terminal emulator, but the fact that 'od' is showing two bytes rather than trying to display a character (however messed up the output may be) implies the characters are simply not valid in the locale you have set.

It would be useful to have the exact numbers from the 'od' (a test filename with more than 2 Hungarian characters would be useful) and an approximate description (or screenshot) on how they should look.

cheers,
jamie
Received on Tue Jul 01 2014 - 15:40:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:50 UTC