Re: [Grep-devel] handling of non-BMP characters

2018-12-20 Thread Bruno Haible
Hi Arnold, > > >2) change those gnulib modules that don't behave well with beyond-BMP > > > characters on Windows and AIX to use char32_t instead of wchar_t. > ... > I assume you'll make parallel changes in dfa.c at the same time? If dfa.c does have bugs w.r.t. beyond-BMP characters, ye

Re: [Grep-devel] handling of non-BMP characters

2018-12-19 Thread arnold
Paul Eggert wrote: > On 12/18/18 11:51 PM, Bruno Haible wrote: > >2) change those gnulib modules that don't behave well with beyond-BMP > > characters on Windows and AIX to use char32_t instead of wchar_t. > > This sounds good to me. I assume the regexp code will need to be changed > a

Re: [Grep-devel] handling of non-BMP characters

2018-12-19 Thread Paul Eggert
On 12/18/18 11:51 PM, Bruno Haible wrote: 2) change those gnulib modules that don't behave well with beyond-BMP characters on Windows and AIX to use char32_t instead of wchar_t. This sounds good to me. I assume the regexp code will need to be changed accordingly, and if so I can volun

Re: [Grep-devel] handling of non-BMP characters

2018-12-19 Thread Jim Meyering
On Tue, Dec 18, 2018 at 11:51 PM Bruno Haible wrote: > Corinna Vinschen wrote in > : > > it would be > > pretty nice if that code could get reverted back in to support > > non-BMP charsets even on Cygwin. > > I agree that support

Re: [Grep-devel] handling of non-BMP characters

2018-12-19 Thread Corinna Vinschen
On Dec 19 15:41, Corinna Vinschen wrote: > On Dec 19 08:51, Bruno Haible wrote: > > Corinna Vinschen wrote in > > : > > > it would be > > > pretty nice if that code could get reverted back in to support > > > non-BMP charsets even

Re: [Grep-devel] handling of non-BMP characters

2018-12-19 Thread Corinna Vinschen
On Dec 19 08:51, Bruno Haible wrote: > Corinna Vinschen wrote in > : > > it would be > > pretty nice if that code could get reverted back in to support > > non-BMP charsets even on Cygwin. > > I agree that support for beyond-BMP

Re: [Grep-devel] handling of non-BMP characters

2018-12-19 Thread Bruno Haible
Corinna Vinschen wrote in : > it would be > pretty nice if that code could get reverted back in to support > non-BMP charsets even on Cygwin. I agree that support for beyond-BMP characters should be added back to 'grep'. Your ea