Date: Mon, 4 Mar 2002 11:53:00 +0300 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: "Tim J. Robbins" <tim@robbins.dropbear.id.au> Cc: freebsd-standards@FreeBSD.ORG Subject: Re: iconv utility and <iconv.h> Message-ID: <20020304085300.GA51200@nagual.pp.ru> In-Reply-To: <20020304182811.A29732@descent.robbins.dropbear.id.au> References: <20020304182811.A29732@descent.robbins.dropbear.id.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 04, 2002 at 18:28:11 +1100, Tim J. Robbins wrote: > > There is also a UTF-8 CHARMAP file here: > http://www-124.ibm.com/developerworks/oss/cvs/locale/ul/src/cmap/charmap.utf8?sortby=rev > The licence on this file apparently isn't fit for src/ in general, > but maybe the src/gnu tree. This charmap file is *huge* and consumes a lot > of memory due to malloc() overhead and fixed-size buffers in the structures. > Using an arena allocator and string pooling would bring memory consumption > closer to the size of the file (~2.7MB). Loading whole charmap is unacceptable in any case, try to use loadable modules instead or something like that. You may also look at another free iconv implementation (currently semi-broken and unsupported) at /usr/ports/converters/iconv. Search i18n@freebsd.org archives for more info about iconv efforts (BTW, your message will fit better in that mailing list). -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020304085300.GA51200>