[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: Lennart Borgman
Subject: Re: What does Emacs on w32 know that grep can't figure out?
Date: Sat, 2 Oct 2010 16:51:20 +0200

On Sat, Oct 2, 2010 at 12:32 PM, Thierry Volpiatto
<address@hidden> wrote:
> Lennart Borgman <address@hidden> writes:
>> On Sat, Oct 2, 2010 at 9:29 AM, Eli Zaretskii <address@hidden> wrote:
>>>> From: Lennart Borgman <address@hidden>
>>>> Date: Sat, 2 Oct 2010 02:33:32 +0200
>>>> Cc: address@hidden
>>>> So where is the problem? Is utf-16 actually used on w32 in many apps?
>>>> Or is this a left-over in CCleaner?
>>> UTF-16 is used for all the Unicode APIs on Windows.  That's the
>>> implementation of the wchar_t type on Windows.  In particular, all the
>>> file names in the NTFS filesystem are actually stored as UTF-16, and
>>> all the OS databases in memory are stored in UTF-16 format.
>>> So this is not a left-over, this is what Windows uses internally.
>> Thanks. So then the question is why the grep program does not support
>> it. Is this a policy question, a lack of resources, or something else?
> It seem most modern windows versions come with powershell.
> Why windows users don't use it as backend for Emacs instead of using
> external Gnuwin32 programs?

Based on your advice I just took the trouble to install powershell. I
can not see that it addresses the problem with utf-16, but maybe I am
missing something. Can you please tell me how to search also utf-16
files with it?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]