Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.utils.bug > #2268

Re: Not sure if a Bug

From John Cowan <cowan@ccil.org>
Newsgroups gnu.utils.bug
Subject Re: Not sure if a Bug
Date 2019-12-11 13:34 -0500
Message-ID <mailman.693.1576089315.1979.bug-gnu-utils@gnu.org> (permalink)
References <BN8PR17MB2770150F204F2609D4E59366A15A0@BN8PR17MB2770.namprd17.prod.outlook.com> <CAD2gp_QCUU7RXwD-wrrx2Ymh=WM6+npevrJbczBOLv-wG7odng@mail.gmail.com>

Show all headers | View raw


It's a UTF-16 file, probably created on Windows, and your locale doesn't
use UTF-16 (nobody does).  Use this pipeline:

iconv -f UTF-16 Unicode.txt | grep 'COL#4'

On Wed, Dec 11, 2019 at 1:23 PM Erand Mulla <erand@haver.com> wrote:

> Hello,
>
> Does grep not work on Unicode files? Please find a sample file attached
> for which I could not get grep to work. Not sure if I am missing an option.
>
> Best reagrds,
> Erand Mulla
> International Economic Database Manager
> Haver Analytics
> 60 E 42nd St, 33rd Fl
> New York, NY  10165
> Tel: 1-212-986-9300
>
>

Back to gnu.utils.bug | Previous | Next | Find similar


Thread

Re: Not sure if a Bug John Cowan <cowan@ccil.org> - 2019-12-11 13:34 -0500

csiph-web