|
From: | Stefan Monnier |
Subject: | Re: What does Emacs on w32 know that grep can't figure out? |
Date: | Sat, 02 Oct 2010 00:45:39 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
> 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. A little test shows that "grep foo.bar ~/tmp/foobar" finds in foobar the line "fooébar" even though that é uses several bytes (I'm using a utf-8 locale). Similarly "grep 'é*' toto" and "grep '[éa]' toto" will correctly treat the several bytes in é as a single element. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |