From owner-freebsd-current Fri May 7 17:59:45 1999 Delivered-To: freebsd-current@freebsd.org Received: from work.mzaki.nom (17.pool15.tokyo.att.ne.jp [165.76.220.32]) by hub.freebsd.org (Postfix) with ESMTP id 4BE0F14EA7 for ; Fri, 7 May 1999 17:59:42 -0700 (PDT) (envelope-from mzaki@e-mail.ne.jp) Received: from localhost (localhost [127.0.0.1]) by work.mzaki.nom (8.9.2/8.9.2) with ESMTP id JAA13878; Sat, 8 May 1999 09:59:36 +0900 (JST) (envelope-from mzaki@e-mail.ne.jp) To: dcs@newsguy.com Cc: current@FreeBSD.ORG Subject: Re: Unicode support for Joliet CDs In-Reply-To: <37332985.4521DB82@newsguy.com> References: <19990507233339A.mzaki@e-mail.ne.jp> <37332985.4521DB82@newsguy.com> X-Mailer: Mew version 1.94b7 on XEmacs 21.0 (20 minutes to Nikko) X-fingerprint: BD 86 CD D9 66 FD 75 B0 A8 43 4B C4 E2 1B F5 B5 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19990508095935N.mzaki@e-mail.ne.jp> Date: Sat, 08 May 1999 09:59:35 +0900 From: Motomichi Matsuzaki X-Dispatcher: imput version 990212(IM106) Lines: 50 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG From: "Daniel C. Sobral" Subject: Re: Unicode support for Joliet CDs Date: Sat, 08 May 1999 02:57:25 +0900 dcs> > Unicode support patch for -current and -stable is now updated. dcs> BTW, some people mentioned losing case in Joliet names. Is/was this dcs> caused by the convertion? Is it fixed in this version? I have noticed this problem right now. Following is the patch for -current and -stable: --- /usr/src/sys/isofs/cd9660/cd9660_util.c Sun Apr 25 02:53:58 1999 +++ /tmp/cd9660_util.c Sat May 8 09:20:44 1999 @@ -162,7 +162,7 @@ for (; infn != infnend; fnidx++) { infn += isochar(infn, infnend, joliet_level, &c); - if (!original && c >= 'A' && c <= 'Z') + if (!original && !joliet_level && c >= 'A' && c <= 'Z') *outfn++ = c + ('a' - 'A'); else if (!original && c == ';') { fnidx -= (d == '.'); I will change my Unicode patch as the same. dcs> > * Add kernel config option CHARSET_*. dcs> > They are to specify the conversion tables you need. dcs> dcs> And how about selecting the charset to be used? Does this still goes dcs> through sysctl, did you get it on a mount option as I suggested, or dcs> what? Not yet, still 'sysctl'. # I feel that adding conversion tables to kernel is ad hoc way. # The BIG5 encoding is not filesystem-safe so that # some userland supports is neccesary for zh_TW.BIG5. # It is as the same for ja_JP.SJIS. # Then, kernel should pass Unicode to userland as UTF-8 encoded, # and we should make proper I18N on whole FreeBSD. # ... confused. -- Motomichi Matsuzaki Dept. of Biological Science, Fuculty of Sciences, Univ. of Tokyo, Japan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message