From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.help Subject: Re: Grep Japanese characters Date: Fri, 13 Jul 2018 12:36:46 +0900 Message-ID: <864lh3g629.fsf@misasa.okayama-u.ac.jp> References: <20180712.080255.586725992291613595.tkk@misasa.okayama-u.ac.jp> <83a7qxfa7r.fsf@gnu.org> <87d0vt2lxj.fsf@yue-d-PC.i-did-not-set--mail-host-address--so-tickle-me> <86pnzsbnvu.fsf@misasa.okayama-u.ac.jp> <8336wofudf.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1531452934 16063 195.159.176.226 (13 Jul 2018 03:35:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2018 03:35:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (windows-nt) Cc: help-gnu-emacs@gnu.org, tkk@misasa.okayama-u.ac.jp To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 13 05:35:30 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fdorf-00043T-V5 for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jul 2018 05:35:28 +0200 Original-Received: from localhost ([::1]:35063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdotm-0002ij-RB for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Jul 2018 23:37:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fdot3-0002h6-0e for help-gnu-emacs@gnu.org; Thu, 12 Jul 2018 23:36:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fdosz-0004bu-3J for help-gnu-emacs@gnu.org; Thu, 12 Jul 2018 23:36:53 -0400 Original-Received: from mail-pf0-x231.google.com ([2607:f8b0:400e:c00::231]:33685) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fdosy-0004aV-Sj; Thu, 12 Jul 2018 23:36:49 -0400 Original-Received: by mail-pf0-x231.google.com with SMTP id b17-v6so21801810pfi.0; Thu, 12 Jul 2018 20:36:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=xZ4uhwKLrk+Pb2bZeBEYzPDgTLBQTT+Xrq3xrdOdq6U=; b=Lk6ksMN/nJslxuhyFJzOE8oRqXYtEjr4eNECJKhJ9B/8HouhyrgxQC2T9B2tW3HU9o HDEYF3ku2T+HY+dweY9X3Sy/cGOdbn5E4FPrewqbyE5je3nIqO+RVr9n80ei5yHTJi83 5/FpNN7OR6/ZfDO2E/mPNAMKskyuGQbkzs0m4m+RfGQT408qMr5mZ49WzQ5y4eZG7ABg jWd9LTY/pJh2WjTC4rYoQ/Lf/dSfCzqwzUcDSF0eiscYpGcU/eepgGyly89N/4swRqqV BKGGTOMVLDzY/bIGU6cGFYd6Ue/KNBW4gq7IJORUWt2gS+5l7mQo20jQrfZ08FmZziEX AefQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=xZ4uhwKLrk+Pb2bZeBEYzPDgTLBQTT+Xrq3xrdOdq6U=; b=hFLsHyDghlqwNydvZm5gAt6brTrw00cPenVIaP0Ba2IhAbsizS+igK01cO4TBuE73y aK/1grqg1f7n99zaHUQP+/w8m6zQmj6VCna1reeEbLC/V6tqn1JfT9QlF5QSPT7y0A+F wqKrHGhtQilbSknJPo85tL7imrle0GIHos7WswKqu5DEqV5Hkj410OIi1vp0QTNc+VL2 4jmAy2YON4pldBRLamtMPhvWNFsK6OA3I/XQwn1nL8bX/374JRj+Gs9qeBV0sBoBUdXr RgfyHj9bkVExaisecrJmUTdJ2iljySwGvoLUTi/RewMaYRJI3MglTORM942xXOVPQDIw wdfA== X-Gm-Message-State: AOUpUlGIyWVBkRJSki7KKjaQv1PZ45K2rC/Lhmpj90ml/pTU/huoj9Tl YfakouASzA9mBARAdoP2CQJFhw== X-Google-Smtp-Source: AAOMgpdKCpCc2o9DNBRCVDWOf1lZSrQiQztO3EymM5YrB1fhUkKS8OiN/RrihjAUSkMOC0NZy3ilQA== X-Received: by 2002:a62:9042:: with SMTP id a63-v6mr5232338pfe.52.1531453007726; Thu, 12 Jul 2018 20:36:47 -0700 (PDT) Original-Received: from thinkless2017 (vesta.misasa.okayama-u.ac.jp. [150.46.48.154]) by smtp.gmail.com with ESMTPSA id d9-v6sm32014581pfb.86.2018.07.12.20.36.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Jul 2018 20:36:47 -0700 (PDT) X-Google-Original-From: Tak Kunihiro In-Reply-To: <8336wofudf.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 12 Jul 2018 16:37:00 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::231 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117420 Archived-At: >> I have checked a box on a dialog by following steps and >> confirmed that I can grep Japanese string. >> >> Region & Language >> -> Administrative language settings >> -> Language for non-Unicode programs >> -> Change system locale... >> -> Beta: Use Unicode UTF-8 for worldwide language support > > After you do the above, what values do the following > variables/functions yield, please? > > M-: w32-ansi-code-page RET > M-: (w32-get-console-codepage) RET > M-: (w32-get-console-output-codepage) RET > > Also, if you invoke Emacs with the -nw command-line option, what do > you see when you then display the HELLO file ("C-h h")? I attach the response from Emacs with `Beta: Use Unicode UTF-8 for worldwide language support' checked. CMD> c:/emacs-26.1/bin/runemacs.exe -Q M-: w32-ansi-code-page --> 65001 (#o176751, #xfde9) M-: (w32-get-console-codepage) RET --> 65001 (#o176751, #xfde9) M-: (w32-get-console-output-codepage) RET --> 65001 (#o176751, #xfde9) CMD> c:/emacs-26.1/bin/emacs.exe -nw -Q M-x view-hello-file --> Letters besides ascii are all bricks (tofu).