From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: scm_from_zbyte_string Date: Fri, 16 Nov 2012 23:30:45 -0500 Message-ID: <871ufssvey.fsf@tines.lan> References: <50A6DFFA.4030509@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1353126673 2862 80.91.229.3 (17 Nov 2012 04:31:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2012 04:31:13 +0000 (UTC) Cc: guile-devel Development To: Bruce Korb Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Nov 17 05:31:23 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TZa3s-0006ef-Lp for guile-devel@m.gmane.org; Sat, 17 Nov 2012 05:31:20 +0100 Original-Received: from localhost ([::1]:59596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZa3i-0001GJ-Bd for guile-devel@m.gmane.org; Fri, 16 Nov 2012 23:31:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZa3e-0001G6-1g for guile-devel@gnu.org; Fri, 16 Nov 2012 23:31:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZa3a-0001Jb-Sw for guile-devel@gnu.org; Fri, 16 Nov 2012 23:31:05 -0500 Original-Received: from world.peace.net ([96.39.62.75]:42356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZa3a-0001JW-LV for guile-devel@gnu.org; Fri, 16 Nov 2012 23:31:02 -0500 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TZa3U-0006AH-8X; Fri, 16 Nov 2012 23:30:56 -0500 In-Reply-To: <50A6DFFA.4030509@gmail.com> (Bruce Korb's message of "Fri, 16 Nov 2012 16:53:14 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15194 Archived-At: Bruce Korb writes: > This is insufficient. There are the "to" functions > and the string extraction thingys that must be done. > But I really don't like that "scm_i_make_string()" call. Use 'scm_from_latin1_string' and 'scm_to_latin1_string', in combination with setting all the port encodings to "ISO-8859-1" (as described in my other email), if you want to stick your fingers in your ears and ignore multilingual issues. Mark