From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Zefram Newsgroups: gmane.lisp.guile.bugs Subject: bug#20823: argv mangled by locale Date: Fri, 24 Jun 2016 09:42:52 +0100 Message-ID: <20160624084252.GE1170@fysh.org> References: <20150616043300.GB2718@fysh.org> <87a8ibjeum.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1466757818 22192 80.91.229.3 (24 Jun 2016 08:43:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2016 08:43:38 +0000 (UTC) Cc: 20823@debbugs.gnu.org, ludo@gnu.org To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Jun 24 10:43:26 2016 Return-path: Envelope-to: guile-bugs@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 1bGMhy-0003m9-E6 for guile-bugs@m.gmane.org; Fri, 24 Jun 2016 10:43:26 +0200 Original-Received: from localhost ([::1]:41990 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGMhs-00063w-Ol for guile-bugs@m.gmane.org; Fri, 24 Jun 2016 04:43:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGMhg-0005vM-Rn for bug-guile@gnu.org; Fri, 24 Jun 2016 04:43:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGMha-0001kO-OL for bug-guile@gnu.org; Fri, 24 Jun 2016 04:43:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGMha-0001kK-LC for bug-guile@gnu.org; Fri, 24 Jun 2016 04:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGMha-0002J0-GX for bug-guile@gnu.org; Fri, 24 Jun 2016 04:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Zefram Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 24 Jun 2016 08:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20823 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 20823-submit@debbugs.gnu.org id=B20823.14667577798853 (code B ref 20823); Fri, 24 Jun 2016 08:43:02 +0000 Original-Received: (at 20823) by debbugs.gnu.org; 24 Jun 2016 08:42:59 +0000 Original-Received: from localhost ([127.0.0.1]:53375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGMhX-0002Ij-8c for submit@debbugs.gnu.org; Fri, 24 Jun 2016 04:42:59 -0400 Original-Received: from river.fysh.org ([87.98.248.19]:57633 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGMhW-0002Ia-9b for 20823@debbugs.gnu.org; Fri, 24 Jun 2016 04:42:58 -0400 Original-Received: from zefram by river.fysh.org with local (Exim 4.84_2 #1 (Debian)) id 1bGMhQ-0008FR-Ri; Fri, 24 Jun 2016 09:42:52 +0100 Content-Disposition: inline In-Reply-To: <87a8ibjeum.fsf@pobox.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8212 Archived-At: Andy Wingo wrote: > I also don't >know whether to supply an optional "encoding" argument, and use that >encoding to decode the command line arguments. That, or something that just retrieves octets, is necessary. Decoding via the selected locale does not suffice, because there's no guarantee that there'll be a locale with a cooperative encoding. -zefram