From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.devel Subject: Re: need: scm_from_{utf8,latin1}_{string,symbol,keyword} Date: Tue, 7 Sep 2010 08:21:32 -0700 (PDT) Message-ID: <231469.37791.qm@web37905.mail.mud.yahoo.com> References: <877hiy3iwn.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283873160 17639 80.91.229.12 (7 Sep 2010 15:26:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Sep 2010 15:26:00 +0000 (UTC) To: =?utf-8?B?THVkb3ZpYyBDb3VydMOocw==?= , guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Sep 07 17:25:55 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ot03U-0005hg-UO for guile-devel@m.gmane.org; Tue, 07 Sep 2010 17:25:53 +0200 Original-Received: from localhost ([127.0.0.1]:45611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ot03T-00078v-UJ for guile-devel@m.gmane.org; Tue, 07 Sep 2010 11:25:51 -0400 Original-Received: from [140.186.70.92] (port=42320 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OszzL-0003OY-Mi for guile-devel@gnu.org; Tue, 07 Sep 2010 11:21:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OszzK-0002WN-AB for guile-devel@gnu.org; Tue, 07 Sep 2010 11:21:35 -0400 Original-Received: from web37905.mail.mud.yahoo.com ([209.191.91.167]:24518) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OszzK-0002W6-1c for guile-devel@gnu.org; Tue, 07 Sep 2010 11:21:34 -0400 Original-Received: (qmail 44837 invoked by uid 60001); 7 Sep 2010 15:21:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1283872893; bh=YvimicHOlX/wCoCjIFIwu55fCsbJqI5nLbsKveMOrho=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1HQjfbcqPeUxIjMIm4PH0ZvDanZwkabsDKQmdQRDBkSmHK9tIDaEHJT579Y1EV2Iq5t5RmuDrN5qAovV15J3aBgKYzWRSK93NgIZWTexsXrQ56TOxc8BkV+D81YEh2/pfl3Itr6oIPSOMGGSC14RtoE65UeEoPrZykyX3MKub9I= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tRwWZd1gemHVmAWqnTv4L+HoYwSjQupvwj9o+baaCqUiRtI/Kz5wbIsAATPBi0VXYUyw6gTzM2ypjssIVy9pCULc0w4Kuy+jpCLf6XtACyLwhJ+byrGuM9yRkBtdBVkRyM/ocnPfPTKnwCRFw8FgbhDQraB2qlnpeqR0Srfnfeo=; X-YMail-OSG: cHk8nlYVM1nnAAEhos8dbHf6M9BauFDFnznfD6FykbZ4TDb JPIE6S13jLyn9oSzGsrAc3mWAfd12D63ZzFHvh0MpOF3ObfKvc9xuWMTxVUw n_GJB1Y.Krf1xcBz6dyjEYeh67166SGVXbJZRVWHL_AceIIYk7BYkljetAo2 y_eo70JvqF6S1A8H78.3sWZHdWke7x1JyjS6MfR74Ez0fEHLAp.TRgzTXtwB tavaKo36o5OMrhjQXKZuMfWBhVT7N6iQ3NhwigsTcwTXVke7BFY32X70q8Io qn4TS1tq0wgHZn0EDYiQn3qrYggKN8V3XdrT9R.8r8777N2KAH4TBVhU1 Original-Received: from [71.130.212.229] by web37905.mail.mud.yahoo.com via HTTP; Tue, 07 Sep 2010 08:21:32 PDT X-Mailer: YahooMailRC/470 YahooMailWebService/0.8.105.279950 In-Reply-To: <877hiy3iwn.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10881 Archived-At: > From: Ludovic Court=C3=A8s =0A=0A=0A> Besides, there=E2=80= =99s the undocumented =E2=80=98scm_from_stringn=E2=80=99 and the internal= =0A> =E2=80=98scm_to_stringn=E2=80=99, which can convert from/to any encodi= ng. I think they=0A> were initially kept internal because we weren=E2=80= =99t quite sure about the=0A> API. Mike?=0A=0AAlso, I think we were tryin= g to avoid compilation problems based on =0Ahaving to expose the libunistri= ng's enum iconv_ilseq_handle to the world.=0ABut later, we ended up creatin= g the analogous=0Ascm_t_string_failed_conversion_handler type to work aroun= d that problem.=0A=0A-Mike