From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: scm_{to,from}_locale_string Date: Thu, 17 Mar 2011 17:49:58 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1300380652 12767 80.91.229.12 (17 Mar 2011 16:50:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2011 16:50:52 +0000 (UTC) Cc: guile-devel To: Mike Gran Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Mar 17 17:50:42 2011 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 1Q0GPI-00009I-MU for guile-devel@m.gmane.org; Thu, 17 Mar 2011 17:50:41 +0100 Original-Received: from localhost ([127.0.0.1]:55242 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0GPA-0003oE-Gj for guile-devel@m.gmane.org; Thu, 17 Mar 2011 12:50:32 -0400 Original-Received: from [140.186.70.92] (port=43767 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0GOX-0003cw-VU for guile-devel@gnu.org; Thu, 17 Mar 2011 12:49:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0GOW-00059H-KZ for guile-devel@gnu.org; Thu, 17 Mar 2011 12:49:53 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:61187 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0GOW-00058t-G3 for guile-devel@gnu.org; Thu, 17 Mar 2011 12:49:52 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id D9C28402B; Thu, 17 Mar 2011 12:51:23 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id:mime-version:content-type; s=sasl; bh=N zteOFfEL+CSNnfQeye3dMlaf8w=; b=dSCX8qFSt/Apspu27Q/xb4av5zn59UEgG fiuABW0CGt+G035VS8npxsk8JuxR6AqoMG2TcQQ6OpkqG6BSOwlUjFGC6Jq4Jktk Ebh5GbiCbF5haSui/XEPyMnJlLeDyPJd2LKYcR7o4NDWaRiQpmIGCvguNpAoSXwQ HmXr41FqMk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:date:message-id:mime-version:content-type; q=dns; s= sasl; b=nn2G64sG+VCjmlBzuenhmmah0cStOXFrjE2YPP9TvYCZIoteCzILCxU+ P2X0gbb7Tl0+fhmp4Tl9rvO5thAgnVIyluy/RZeqZn+PaY7RBFGLVXx3L2fHZaMi V7fGmICJI5lnwJbGY2tHBZLc8GB9225g3cusJmfW4gPHeRoNfKc= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id C370D402A; Thu, 17 Mar 2011 12:51:21 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 2D32E4029; Thu, 17 Mar 2011 12:51:19 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: C991B254-50B6-11E0-8A2C-E8AB60295C12-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 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:11890 Archived-At: Hi Mike, I'm looking at changing to use the helper "locale_charset()" function from libunistring in the scm_to_locale_string and scm_from_locale_string functions. It seems like that's more correct than snarfing through the current input/output ports. Likewise I'll just use the scm_i_get_conversion_strategy for the handler. Please let me know if this is the wrong thing to do. Thanks, Andy -- http://wingolog.org/