Subject: Re: Unicode support in iso9660.
To: Dave Huang <khym@azeotrope.org>
From: Vsevolod Stakhov <cebka@jet.msk.su>
List: tech-kern
Date: 11/19/2004 03:24:12
On Thu, Nov 18, 2004 at 05:03:35PM -0600, Dave Huang wrote:
> On Thu, Nov 18, 2004 at 11:42:48PM +0300, Valeriy E. Ushakov wrote:
> > But currently I cannot do anything like this with a CD with Russian
> > file names.  I haven't tried this in a while, so I specifically checked
> > this with my more or less -current laptop:
> > 
> >     $ ls /cdrom
> >     ??????   ????????????  ????     ??????
> > 
> > Yeah, that's like very useful... :(
> 
> By default, ls will convert what it thinks are non-printable
> characters into question marks. What does "ls -w /cdrom" show?

Actually it always convert non-english characters to question marks.
It is limitation of filesystem driver.
The code is:

	if (joliet_level == 0 || isofn == isoend)
		/* (00) and (01) are one byte in Joliet, too */
		return 1;

	/* No Unicode support yet :-( */
	switch (*c) {
	default:
		*c = '?';
		break;