Re: [Toybox] [PATCH] main.c: fix UTF-8 on macOS.

2020-12-19 Thread Rob Landley
On 12/19/20 3:41 PM, scsijon wrote: > EDIT: apparently it was supposedly removed and your suppose to use locale.h > instead. > > https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html > > > The nonstandard header has been removed.

Re: [Toybox] [PATCH] main.c: fix UTF-8 on macOS.

2020-12-19 Thread scsijon
On 20/12/20 8:13 am, toybox-requ...@lists.landley.net wrote: Message: 1 Date: Sat, 19 Dec 2020 04:42:07 -0600 From: Rob Landley To: enh Cc: toybox Subject: Re: [Toybox] [PATCH] main.c: fix UTF-8 on macOS. Message-ID: Content-Type: text/plain; charset=utf-8 On 12/14/20 11:13 PM, enh wrote:

Re: [Toybox] [PATCH] main.c: fix UTF-8 on macOS.

2020-12-19 Thread Rob Landley
On 12/14/20 11:13 PM, enh wrote: > On Mon, Dec 14, 2020 at 8:54 PM Rob Landley wrote: > > >On 12/14/20 7:33 PM, enh via Toybox wrote: > >> Unfortunately neither "C.UTF-8" nor "UTF-8" works on *both* OSes... > > > >Tempted to newlocale() and uselocale() to edit utf8 support into "C" >