Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jul 2014 18:40:24 +0100
From:      Jamie Landeg-Jones <jamie@dyslexicfish.net>
To:        Krasznai.Andras@mands.hu, freebsd-current@freebsd.org, dt71@gmx.com
Subject:   Re: freebsd and utf-8 directory names
Message-ID:  <201407011740.s61HePDH095011@dyslexicfish.net>
In-Reply-To: <3B0F582294DE3E448963BA62DC306AEE3C7F5FBE08@exchange.mands.hu>
References:  <3B0F582294DE3E448963BA62DC306AEE3C7F5FBCEC@exchange.mands.hu> <53B2C8B4.50306@gmx.com> <3B0F582294DE3E448963BA62DC306AEE3C7F5FBE03@exchange.mands.hu> <53B2D18E.1040201@gmx.com> <3B0F582294DE3E448963BA62DC306AEE3C7F5FBE08@exchange.mands.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
M&S - Krasznai Andr??s <Krasznai.Andras@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407011740.s61HePDH095011>