[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What does Emacs on w32 know that grep can't figure out?
From: |
Eli Zaretskii |
Subject: |
Re: What does Emacs on w32 know that grep can't figure out? |
Date: |
Fri, 01 Oct 2010 14:00:53 +0200 |
> From: Andreas Schwab <address@hidden>
> Cc: "Jan D." <address@hidden>, address@hidden, address@hidden,
> address@hidden
> Date: Fri, 01 Oct 2010 10:12:08 +0200
>
> Eli Zaretskii <address@hidden> writes:
>
> >> Date: Fri, 01 Oct 2010 07:37:59 +0200
> >> From: "Jan D." <address@hidden>
> >> Cc: Lennart Borgman <address@hidden>,
> >> Emacs-Devel devel <address@hidden>
> >>
> >> GNU grep understands UTF-8 I think.
> >
> > Not really. Grep just compares bytes one by one, it knows nothing
> > about multibyte characters.
>
> grep uses exactly the character encoding as specified by the locale.
What do you mean by "support"? It compares text by comparing its
constituent bytes, without really understanding that a given sequence
of bytes is a single character.
Re: What does Emacs on w32 know that grep can't figure out?, PJ Weisberg, 2010/10/01
Re: What does Emacs on w32 know that grep can't figure out?, Eli Zaretskii, 2010/10/01
Re: What does Emacs on w32 know that grep can't figure out?, Eli Zaretskii, 2010/10/01