GNU bug report logs - #64277
[feature request] handle files encoded in utf-16le

Previous Next

Package: grep;

Reported by: Jeremy Hetzler <jeremyhetzler <at> gmail.com>

Date: Sat, 24 Jun 2023 21:24:02 UTC

Severity: wishlist

Full log


Message #14 received at 64277 <at> debbugs.gnu.org (full text, mbox):

From: lacsaP Patatetom <patatetom <at> gmail.com>
To: Jeremy Hetzler <jeremyhetzler <at> gmail.com>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 64277 <at> debbugs.gnu.org
Subject: Re: bug#64277: [feature request] handle files encoded in utf-16le
Date: Mon, 26 Jun 2023 10:03:27 +0200
[Message part 1 (text/plain, inline)]
Le dim. 25 juin 2023 à 18:55, Jeremy Hetzler <jeremyhetzler <at> gmail.com> a
écrit :

> Thanks Paul.
>
> I understand. Appreciate the quick response.
>
> Yours,
> Jeremy
>
> On Sat, Jun 24, 2023 at 6:17 PM Paul Eggert <eggert <at> cs.ucla.edu> wrote:
>
> > On 2023-06-24 14:23, Jeremy Hetzler wrote:
> > > I would like to request a feature to be added to grep which would
> enable
> > it
> > > to transparently decode UTF16-LE files so they can be conveniently
> > searched.
> >
> > Not sure it's worth the effort as this format is not that common for GNU
> > grep, it'd be a pain to add proper support for it, and anyway 16-bit
> > encodings have been problematic ever since Unicode crossed the 16-bit
> > Rubicon. I'm not saying we'd reject a patch if someone wrote it, but I'd
> > say it should be low priority.
> >
>
>
> --
> Thanks,
> Jeremy Hetzler
> (he/him)
> 203-887-5398
>

iconv -f utf-16le  '06-21-2023 03-22-46' | grep regexp
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 355 days ago.

Previous Next


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