Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 May 1999 09:59:35 +0900
From:      Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
To:        dcs@newsguy.com
Cc:        current@FreeBSD.ORG
Subject:   Re: Unicode support for Joliet CDs
Message-ID:  <19990508095935N.mzaki@e-mail.ne.jp>
In-Reply-To: <37332985.4521DB82@newsguy.com>
References:  <19990507233339A.mzaki@e-mail.ne.jp> <37332985.4521DB82@newsguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help

From: "Daniel C. Sobral" <dcs@newsguy.com>
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 <mzaki@e-mail.ne.jp> 
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990508095935N.mzaki>