Subject: Re: Unicode support in kernel
To: None <>
From: Greg A. Woods <>
List: tech-kern
Date: 10/15/1999 02:21:45
[ On Friday, October 15, 1999 at 14:47:28 (+0900), Noriyuki Soda wrote: ]
> Subject: Re: Unicode support in kernel
> At least, Long filename extenstion to MS-DOS FAT filesystem requires
> Unicode support in kernel, since it encodes filename as both UCS-2 and
> codepage-dependent-codeset. Thus, for example, if userland specified
> a filename as Shift_JIS, kernel has to translate it to Unicode, and
> the reverse is also true.

This sounds like a twisty little maze of passages, well marked but all
very similar looking, but with all the direction signs printed in a
totally alien language!  ;-)

I presume this means that a directory entry is actually two related
entries, one in UCS-2, and one in whatever codeset the user happens to
be using at the time the file is created.

Why not pretend, for the purposes of creating new files, that the
"codepage-dependent-codeset" is UCS-2 too?  I.e. require userland to
always supply new filenames in UCS-2?

							Greg A. Woods

+1 416 218-0098      VE3TCP      <>      <robohack!woods>
Planix, Inc. <>; Secrets of the Weird <>