GNU bug report logs - #20823
argv mangled by locale

Previous Next

Package: guile;

Reported by: Zefram <zefram <at> fysh.org>

Date: Tue, 16 Jun 2015 04:34:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Zefram <zefram <at> fysh.org>
To: Andy Wingo <wingo <at> pobox.com>
Cc: 20823 <at> debbugs.gnu.org, mhw <at> netris.org, ludo <at> gnu.org
Subject: bug#20823: argv mangled by locale
Date: Fri, 24 Jun 2016 09:42:52 +0100
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




This bug report was last modified 8 years and 305 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.