Subject: Re: UTF-8 file names?
To: Thomas Klausner <wiz@NetBSD.org>
From: Greg A. Woods <woods@weird.com>
List: tech-userlevel
Date: 10/11/2004 15:31:11
[ On Monday, October 4, 2004 at 17:47:54 (+0200), Thomas Klausner wrote: ]
> Subject: Re: UTF-8 file names?
>
> On Wed, Sep 29, 2004 at 06:49:29PM +0200, Thomas Klausner wrote:
> > After adding a "static" before fputwcr, this compiles and works fine
> > for me.
> 
> Actually, I'm not quite sure that's correct.  With an UTF terminal,
> and a filename consisting of all special German letters (),
> and LC_CTYPE set to en_US.UTF-8 (LANG not set), ls gives me:
> " ? ? ? ? ?", while ls -w correctly gives me "" -- I
> thought the point was that I wouldn't need -w?

Isn't that simply because your filename is stored in ISO-8859-1
byte-coded characters but the UTF-8 world only allows transparency for
7-bit ASCII?

-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>