From owner-freebsd-current@FreeBSD.ORG Tue Jul 1 17:40:35 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3AE8CD64 for ; Tue, 1 Jul 2014 17:40:35 +0000 (UTC) Received: from dyslexicfish.net (streams.dyslexicfish.net [91.109.5.35]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CA1EF2AEF for ; Tue, 1 Jul 2014 17:40:33 +0000 (UTC) Received: from dyslexicfish.net (streams.dyslexicfish.net [91.109.5.35]) by dyslexicfish.net (8.14.5/8.14.5) with ESMTP id s61HePXa095012; Tue, 1 Jul 2014 18:40:25 +0100 (BST) (envelope-from jamie@dyslexicfish.net) Received: (from jamie@localhost) by dyslexicfish.net (8.14.5/8.14.5/Submit) id s61HePDH095011; Tue, 1 Jul 2014 18:40:25 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <201407011740.s61HePDH095011@dyslexicfish.net> Date: Tue, 01 Jul 2014 18:40:24 +0100 To: Krasznai.Andras@mands.hu, freebsd-current@freebsd.org, dt71@gmx.com Subject: Re: freebsd and utf-8 directory names References: <3B0F582294DE3E448963BA62DC306AEE3C7F5FBCEC@exchange.mands.hu> <53B2C8B4.50306@gmx.com> <3B0F582294DE3E448963BA62DC306AEE3C7F5FBE03@exchange.mands.hu> <53B2D18E.1040201@gmx.com> <3B0F582294DE3E448963BA62DC306AEE3C7F5FBE08@exchange.mands.hu> In-Reply-To: <3B0F582294DE3E448963BA62DC306AEE3C7F5FBE08@exchange.mands.hu> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (dyslexicfish.net [91.109.5.35]); Tue, 01 Jul 2014 18:40:25 +0100 (BST) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2014 17:40:35 -0000 M&S - Krasznai Andr??s 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