From owner-freebsd-i18n Sun May 21 22:15:17 2000 Delivered-To: freebsd-i18n@freebsd.org Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [210.226.20.160]) by hub.freebsd.org (Postfix) with ESMTP id 95AE237B57A; Sun, 21 May 2000 22:15:12 -0700 (PDT) (envelope-from kuriyama@FreeBSD.org) Received: from waterblue.imgsrc.co.jp (localhost [127.0.0.1]) by waterblue.imgsrc.co.jp (8.11.0.Beta1/8.11.0.Beta1) with ESMTP id e4M5FFn04078; Mon, 22 May 2000 14:15:16 +0900 (JST) Date: Mon, 22 May 2000 14:15:15 +0900 Message-ID: <86em6v6u8s.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: freebsd-i18n@FreeBSD.org Subject: FYI: XPG4DL User-Agent: Wanderlust/1.1.1 (Purple Rain) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) MULE XEmacs/21.1 (patch 9) (Canyonlands) (i386--freebsd) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Just FYI. Citrus Project in Japan is developping another implimentation for wchar support (and more). Some of details are introduced in: http://mail-index.netbsd.org/tech-userlevel/2000/01/08/0005.html http://mail-index.netbsd.org/tech-userlevel/2000/03/30/0001.html This is based on 3.2-RELEASE and Citrus advantages for 3.2 are (by Shiozaki-san): - Most of XPG5 and ISO C:1995 wchar.h/wctype.h extension. - Encoding scheme can be loaded dynamically. - ISO-2022 support. - Some of backward binary compatibility. -- Jun Kuriyama // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Mon May 22 1:27:46 2000 Delivered-To: freebsd-i18n@freebsd.org Received: from mx.globalone.ru (mx.globalone.ru [194.84.254.251]) by hub.freebsd.org (Postfix) with ESMTP id 3E7C937B6BC for ; Mon, 22 May 2000 01:27:41 -0700 (PDT) (envelope-from a.voropay@globalone.ru) Received: from hq.globalone.ru (hq.globalone.ru [172.16.38.1]) by mx.globalone.ru (8.9.3/8.9.3) with ESMTP id MAA14055 for ; Mon, 22 May 2000 12:27:30 +0400 Received: from host205.spb.in.rosprin.ru ([172.17.13.205]) by hq.globalone.ru (Netscape Messaging Server 3.62) with SMTP id 399 for ; Mon, 22 May 2000 12:27:40 +0400 Message-ID: <02c401bfc3c7$9a5170c0$cd0d11ac@host205.spb.in.rosprin.ru> Reply-To: "Alexander Voropay" From: "Alexander Voropay" To: Subject: i18n in FreeBSD Date: Mon, 22 May 2000 12:26:24 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi! I have some questions about i18n in FreeBSD. What about these things ? 1) nl_langinfo(3) and implememtation http://www.opengroup.org/onlinepubs/7908799/xsh/nl_langinfo.html http://www.opengroup.org/onlinepubs/7908799/xsh/langinfo.h.html 2) UNICODE & UTF-8 support See : http://www.cl.cam.ac.uk/~mgk25/unicode.html ftp://ftp.ilog.fr/pub/Users/haible/utf8/Unicode-HOWTO.html 3) POSIX UNICODE locales, like LANG=en_US.UTF-8 LANG=ru_RU.UTF-8 LANG=ja_JP.UTF-8 ... 4) "Modular" iconv(1) utility & iconv(3) function: http://www.opengroup.org/onlinepubs/7908799/xsh/iconv.html http://www.opengroup.org/onlinepubs/7908799/xcu/iconv.html So, for $ iconv -f ISO_2022-JP -t UFT-8 myjpfile.txt system should have libraries /usr/share/iconv/iso_2022-j.so /usr/share/iconv/utf-8.so 5) UNICODE (UTF-8) messages catalogs for NLS subsystem for catopen(3) .cat and gettext(3)/texdomain(3) .po . -- -=AV=- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Mon May 22 4:24:14 2000 Delivered-To: freebsd-i18n@freebsd.org Received: from kiew.egd.igd.fhg.de (kiew.egd.igd.fhg.de [192.102.170.32]) by hub.freebsd.org (Postfix) with ESMTP id 0DE6937BBE3; Mon, 22 May 2000 04:23:59 -0700 (PDT) (envelope-from runge@rostock.zgdv.de) Received: from rostock.zgdv.de (penguin.egd.igd.fhg.de [192.102.170.145]) by kiew.egd.igd.fhg.de (Netscape Messaging Server 3.6) with ESMTP id AAA5AAE; Mon, 22 May 2000 13:23:48 +0200 Message-ID: <3929195E.D9E26A36@rostock.zgdv.de> Date: Mon, 22 May 2000 13:26:22 +0200 From: Thomas Runge X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en, de MIME-Version: 1.0 Cc: freebsd-i18n@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: Wide-char support and libc References: <3926ECA6.FF3B4993@heim9.tu-clausthal.de> <39221780.C18E585@cvzoom.net> <8g0d4i$ubd$1@bigeye.rhein-neckar.de> <200005202115.PAA54146@billy-club.village.org> <392728B7.D41E6FC7@heim9.tu-clausthal.de> <20000521095507.A21004@cartier.cirx.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Clive Lin wrote: > Could any one tell us, is this project dead ? > Will this be in the src/ ? > Or still in long-long beta (even pre-alpha ?) testing.. ? > Or .. ? Look here: http://www.whizkidtech.net/i18n/wc/ -- Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Mon May 22 4:51:25 2000 Delivered-To: freebsd-i18n@freebsd.org Received: from flux.ptc.spbu.ru (flux.ptc.spbu.ru [195.19.225.195]) by hub.freebsd.org (Postfix) with ESMTP id 2CA1A37BAC7; Mon, 22 May 2000 04:50:10 -0700 (PDT) (envelope-from uwe@snark.ptc.spbu.ru) Received: from snark.ptc.spbu.ru (snark.ptc.spbu.ru [195.19.225.131]) by flux.ptc.spbu.ru (8.9.3/8.9.3/cf-1.0.rbl) with ESMTP id PAA27794; Mon, 22 May 2000 15:49:45 +0400 (MSD) Received: (from uwe@localhost) by snark.ptc.spbu.ru (8.8.8+Sun/8.8.8) id PAA26871; Mon, 22 May 2000 15:49:44 +0400 (MSD) Date: Mon, 22 May 2000 15:49:44 +0400 From: "Valeriy E. Ushakov" To: freebsd-i18n@FreeBSD.ORG Cc: freebsd-current@FreeBSD.ORG, adam@whizkidtech.net Subject: Re: Wide-char support and libc Message-ID: <20000522154944.A26845@snark.ptc.spbu.ru> References: <3926ECA6.FF3B4993@heim9.tu-clausthal.de> <39221780.C18E585@cvzoom.net> <8g0d4i$ubd$1@bigeye.rhein-neckar.de> <200005202115.PAA54146@billy-club.village.org> <392728B7.D41E6FC7@heim9.tu-clausthal.de> <20000521095507.A21004@cartier.cirx.org> <3929195E.D9E26A36@rostock.zgdv.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <3929195E.D9E26A36@rostock.zgdv.de>; from "Thomas Runge" on Mon, May 22, 2000 at 13:26:22 Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, May 22, 2000 at 13:26:22 +0200, Thomas Runge wrote: > Look here: http://www.whizkidtech.net/i18n/wc/ I wish this page has less FUD about Unicode. Reference to Unicode being controlled by Microsoft is a prominent example. As for the list of problems with Unicode given on that page - all of the items in the list are arguable and, IMO, all can be refuted. I do have first-hand experience of working with Unicode consortium (I have contributed to extensions of Tibetan block in 3.0). I want to say for the record that people from Unicode/WG2 I worked with were very open-minded, helpful and professional. Oh, and none of them was from Microsoft ;-). SY, Uwe -- uwe@ptc.spbu.ru | Zu Grunde kommen http://www.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Mon May 22 4:59:15 2000 Delivered-To: freebsd-i18n@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.100.7]) by hub.freebsd.org (Postfix) with ESMTP id 62F7237BBE1; Mon, 22 May 2000 04:59:10 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id HAA144284; Mon, 22 May 2000 07:58:45 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20000521095507.A21004@cartier.cirx.org> References: <3926ECA6.FF3B4993@heim9.tu-clausthal.de> <39221780.C18E585@cvzoom.net> <8g0d4i$ubd$1@bigeye.rhein-neckar.de> <200005202115.PAA54146@billy-club.village.org> <392728B7.D41E6FC7@heim9.tu-clausthal.de> <20000521095507.A21004@cartier.cirx.org> Date: Mon, 22 May 2000 07:59:00 -0400 To: Clive Lin , David Cross From: Garance A Drosihn Subject: Re: Wide-char support and libc Cc: freebsd-i18n@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On May 21/2000, Clive Lin wrote to -current&-i18n: > > The only way i found to link motif programs is by using > > > > http://www.cs.rpi.edu/~crossd/FreeBSD/wcs-19990606.tar.gz > >This seems the solution of wc* routines in FreeBSD. > >Could any one tell us, is this project dead ? Last I knew, David Cross (aka 'crossd') still intended to get the above work installed in freebsd. I think he was waiting for some other piece to be installed (the name of which I don't remember, but he's mentioned it a few times in hackers or current in the past few months). He recently got commit-ability (ahem), so there may be some progress on this soon. I know he's been busy with several other projects in the last few weeks, but I'm copying him on this message to see if we can get a status update. I don't know if he follows the i18n list. --- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or drosih@rpi.edu Rensselaer Polytechnic Institute To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Mon May 22 5:32:11 2000 Delivered-To: freebsd-i18n@freebsd.org Received: from relay.butya.kz (butya-gw.butya.kz [212.154.129.94]) by hub.freebsd.org (Postfix) with ESMTP id F343E37BBF1 for ; Mon, 22 May 2000 05:32:03 -0700 (PDT) (envelope-from bp@butya.kz) Received: from bp (helo=localhost) by relay.butya.kz with local-esmtp (Exim 3.13 #1) id 12trNC-000FCu-00; Mon, 22 May 2000 19:31:54 +0700 Date: Mon, 22 May 2000 19:31:52 +0700 (ALMST) From: Boris Popov To: Alexander Voropay Cc: freebsd-i18n@FreeBSD.ORG Subject: Re: i18n in FreeBSD In-Reply-To: <02c401bfc3c7$9a5170c0$cd0d11ac@host205.spb.in.rosprin.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 22 May 2000, Alexander Voropay wrote: > I have some questions about i18n in FreeBSD. > What about these things ? [skip...] > 4) "Modular" iconv(1) utility & iconv(3) function: > http://www.opengroup.org/onlinepubs/7908799/xsh/iconv.html > http://www.opengroup.org/onlinepubs/7908799/xcu/iconv.html This is work in progress. Actually, I've convinced Konstantin Chuguev, the author of iconv library, to trim down rare used tables (make them as ports). fix some bugs etc, so the library can be included in the base system without much overhead. In addition, I've wrote kernel side iconv-like interface which uses libiconv library to construct recode tables. Currently, each filesystem (msdosfs, nwfs, smbfs) uses its own recode tables even if they are the same. -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Mon May 22 6:43:22 2000 Delivered-To: freebsd-i18n@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id F257437B907 for ; Mon, 22 May 2000 06:43:14 -0700 (PDT) (envelope-from crossd@cs.rpi.edu) Received: from cs.rpi.edu (bill.cs.rpi.edu [128.213.2.2]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id JAA16967 for ; Mon, 22 May 2000 09:43:06 -0400 (EDT) Message-Id: <200005221343.JAA16967@cs.rpi.edu> To: freebsd-i18n@freebsd.org Subject: subscribe Date: Mon, 22 May 2000 09:43:06 -0400 From: "David E. Cross" Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG subscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Mon May 22 6:43:22 2000 Delivered-To: freebsd-i18n@freebsd.org Received: from cs.rpi.edu (mumble.cs.rpi.edu [128.213.8.16]) by hub.freebsd.org (Postfix) with ESMTP id AAC0437B8B7; Mon, 22 May 2000 06:43:07 -0700 (PDT) (envelope-from crossd@cs.rpi.edu) Received: from cs.rpi.edu (bill.cs.rpi.edu [128.213.2.2]) by cs.rpi.edu (8.9.3/8.9.3) with ESMTP id JAA16952; Mon, 22 May 2000 09:42:39 -0400 (EDT) Message-Id: <200005221342.JAA16952@cs.rpi.edu> To: Garance A Drosihn Cc: Clive Lin , David Cross , freebsd-i18n@FreeBSD.ORG, freebsd-current@FreeBSD.ORG, crossd@cs.rpi.edu Subject: Re: Wide-char support and libc In-Reply-To: Message from Garance A Drosihn of "Mon, 22 May 2000 07:59:00 EDT." Date: Mon, 22 May 2000 09:42:39 -0400 From: "David E. Cross" Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On May 21/2000, Clive Lin wrote to -current&-i18n: > > > The only way i found to link motif programs is by using > > > > > > http://www.cs.rpi.edu/~crossd/FreeBSD/wcs-19990606.tar.gz > > > >This seems the solution of wc* routines in FreeBSD. > > > >Could any one tell us, is this project dead ? > > Last I knew, David Cross (aka 'crossd') still intended to get the > above work installed in freebsd. I think he was waiting for some > other piece to be installed (the name of which I don't remember, > but he's mentioned it a few times in hackers or current in the > past few months). He recently got commit-ability (ahem), so there > may be some progress on this soon. > > I know he's been busy with several other projects in the last few > weeks, but I'm copying him on this message to see if we can get a > status update. I don't know if he follows the i18n list. Porting CDE and Motif was the exact reason that those functions exist :) That project is still quite alive and kicking, even if delayed a bit. I have been meaning to finish up the wcs*() functions, and port the NLS support from OpenBSD into Free. I am eager to see that a general interest in this exists. I have been meaning to subscribe to the i18n list, as I knew wcs*() would be brought up there sooner or later :) My next message will be to subscribe to that list. PS: IIRC the version at that URL has a typo in it where _t should become _r in one of the functions. -- David Cross | email: crossd@cs.rpi.edu Lab Director | Rm: 308 Lally Hall Rensselaer Polytechnic Institute, | Ph: 518.276.2860 Department of Computer Science | Fax: 518.276.4033 I speak only for myself. | WinNT:Linux::Linux:FreeBSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Mon May 22 16:44:52 2000 Delivered-To: freebsd-i18n@freebsd.org Received: from mail.bfm.org (mail.bfm.org [216.127.218.26]) by hub.freebsd.org (Postfix) with ESMTP id E71F037B7AF; Mon, 22 May 2000 16:44:48 -0700 (PDT) (envelope-from adam@whizkidtech.net) Received: from WhizKid (r11.bfm.org [216.127.220.107]) by mail.bfm.org (Post.Office MTA v3.5.3 release 223 ID# 0-52399U2500L250S0V35) with SMTP id org; Mon, 22 May 2000 18:45:14 -0500 Message-Id: <3.0.6.32.20000522184423.008a0c00@mail85.pair.com> X-Sender: whizkid@mail85.pair.com X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Mon, 22 May 2000 18:44:23 -0500 To: "Valeriy E. Ushakov" , freebsd-i18n@FreeBSD.ORG From: "G. Adam Stanislav" Subject: Re: Wide-char support and libc Cc: freebsd-current@FreeBSD.ORG In-Reply-To: <20000522154944.A26845@snark.ptc.spbu.ru> References: <3929195E.D9E26A36@rostock.zgdv.de> <3926ECA6.FF3B4993@heim9.tu-clausthal.de> <39221780.C18E585@cvzoom.net> <8g0d4i$ubd$1@bigeye.rhein-neckar.de> <200005202115.PAA54146@billy-club.village.org> <392728B7.D41E6FC7@heim9.tu-clausthal.de> <20000521095507.A21004@cartier.cirx.org> <3929195E.D9E26A36@rostock.zgdv.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 15:49 22-05-2000 +0400, Valeriy E. Ushakov wrote: >I wish this page has less FUD about Unicode. Reference to Unicode >being controlled by Microsoft is a prominent example. It was true when it was written. It is a very old page: I completely forgot it was still there. The situation with Unicode Consortium has improved since then. Adam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Fri May 26 10:20: 5 2000 Delivered-To: freebsd-i18n@freebsd.org Received: from astralblue.com (adsl-209-76-108-39.dsl.snfc21.pacbell.net [209.76.108.39]) by hub.freebsd.org (Postfix) with ESMTP id 9787D37B57D for ; Fri, 26 May 2000 10:20:00 -0700 (PDT) (envelope-from ab@astralblue.com) Received: from localhost (ab@localhost) by astralblue.com (8.9.3/8.9.3) with ESMTP id KAA97691; Fri, 26 May 2000 10:19:33 -0700 (PDT) (envelope-from ab@astralblue.com) Date: Fri, 26 May 2000 10:19:33 -0700 (PDT) From: "Eugene M. Kim" To: Boris Popov Cc: Alexander Voropay , freebsd-i18n@FreeBSD.ORG Subject: Re: i18n in FreeBSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 22 May 2000, Boris Popov wrote: | In addition, I've wrote kernel side iconv-like interface which | uses libiconv library to construct recode tables. Currently, each | filesystem (msdosfs, nwfs, smbfs) uses its own recode tables even if they | are the same. First of all thank you for doing this. It will save so many non-English speakers' lives in the world :-). That said, I think this probably needs to be dealt with prudently, because anything related to kernel namespace manipulation tends to lead to a confusion. That holds true esp. in such a grey area like charset issues. There are tons of issues that must be addressed, like case folding in filenames, how to deal with locale issues (e.g. different users on the system may use different locales; are we implementing a locale-sensitive namespace, and if yes, how?), and most important, how existing implementations have done the job (e.g. msdosfs, smbfs, cdfs/Joliet and so on). It might be a good idea to start with evaluating the options that has been proposed in the past. If my memory serves me right, Terry Lambert has once come up with a very similar problems (and his own solutions which unfortunately never made it to a permanent seat in the CVS repository). Regards, Eugene | | -- | Boris Popov | http://www.butya.kz/~bp/ | | | | To Unsubscribe: send mail to majordomo@FreeBSD.org | with "unsubscribe freebsd-i18n" in the body of the message | -- Eugene M. Kim "Is your music unpopular? Make it popular; make music which people like, or make people who like your music." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message From owner-freebsd-i18n Sat May 27 22:11:48 2000 Delivered-To: freebsd-i18n@freebsd.org Received: from relay.butya.kz (butya-gw.butya.kz [212.154.129.94]) by hub.freebsd.org (Postfix) with ESMTP id 34BD737B735 for ; Sat, 27 May 2000 22:11:43 -0700 (PDT) (envelope-from bp@butya.kz) Received: from bp (helo=localhost) by relay.butya.kz with local-esmtp (Exim 3.13 #1) id 12vvM8-00037k-00; Sun, 28 May 2000 12:11:20 +0700 Date: Sun, 28 May 2000 12:11:20 +0700 (ALMST) From: Boris Popov To: "Eugene M. Kim" Cc: Alexander Voropay , freebsd-i18n@FreeBSD.ORG Subject: Re: i18n in FreeBSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-i18n@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 26 May 2000, Eugene M. Kim wrote: > | In addition, I've wrote kernel side iconv-like interface which > | uses libiconv library to construct recode tables. Currently, each > | filesystem (msdosfs, nwfs, smbfs) uses its own recode tables even if they > | are the same. > > That said, I think this probably needs to be dealt with prudently, > because anything related to kernel namespace manipulation tends to lead > to a confusion. That holds true esp. in such a grey area like charset > issues. There are tons of issues that must be addressed, like case > folding in filenames, how to deal with locale issues (e.g. different This is filesystem dependent. > users on the system may use different locales; are we implementing a > locale-sensitive namespace, and if yes, how?), and most important, how And this too. Those questions are more related to the design of particular filesystem and has no relation to the iconv interface. > existing implementations have done the job (e.g. msdosfs, smbfs, > cdfs/Joliet and so on). Currently each filesystem keeps its own conversion tables, no one of the known filesytem deal with user's locale settings (and this is reasonable enough in the present kernel environment). The kernel iconv interface exposes the same functions as its user land counterpart. The conversion schemes can be uploaded to kernel only by the root user. Each scheme has 'from' and 'to' name, for example: koi8-r cp866 cp866 koi8-r koi8-r toupper koi8-r tolower koi8-r unicode unicode koi8-r ..., etc. When, say, mount_smbfs command issued, it can look up an already present schemes and/or add new ones. Each scheme can be used by different filesystems and other kernel subroutines. Various conversion schemes may use various drivers. Currently there are two types of drivers: table(XLAT) and unicode(ucs). XLAT driver used for schemes which will fit into single 256 (512) bytes table. New tables can be constructed dynamically and uploaded to the kernel. UCS drivers placed into KLDs and has no userland interface. I.e. they register all 'from'-'to' combinations on loading. The iconvdriver interface is open and new types of drivers can be created if needed. In the next two weeks I'll try to post a proposal to the arch@ list. -- Boris Popov http://www.butya.kz/~bp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-i18n" in the body of the message