Subject: Re: bug#20823: argv mangled by locale

From: Zefram <[email-masked]>
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