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 #8 received at 64277 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jeremy Hetzler <jeremyhetzler <at> gmail.com>
Cc: 64277 <at> debbugs.gnu.org
Subject: Re: bug#64277: [feature request] handle files encoded in utf-16le
Date: Sat, 24 Jun 2023 15:17:34 -0700
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.




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.