help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Grep Japanese characters


From: YUE Daian
Subject: Re: Grep Japanese characters
Date: Thu, 12 Jul 2018 11:05:28 +0800

On 2018-07-12 05:40, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Thu, 12 Jul 2018 08:02:55 +0900 (JST)
>> From: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
>> Cc: tkk@misasa.okayama-u.ac.jp
>> 
>> I want to grep Japanese string.  I can do it on Emacs for Mac but
>> cannot do it on Emacs for MS Windows.
>> 
>> I found that I can grep Japanese string using
>> c:/msys64/usr/bin/grep.exe on command prompt (outside of Emacs).
>> However, I cannot do it using c:/msys64/usr/bin/grep.exe on command
>> prompt by M-x shell (inside of Emacs).  I confirm that LC_ALL is set
>> to en_US.UTF-8 on both environments.
>> 
>> Can you give me a hint to grep Japanese string on Emacs for MS
>> Windows?
>
> You cannot pass UTF-8 encoded parameters to sub-programs on
> MS-Windows.  You can only use the encoding of your system codepage.
> Sorry, it's an MS-Windows limitation.

I remember Windows 10 has a beta option to use UTF-8 for the whole
system instead of your local encoding.

I do not know if this can help...



reply via email to

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