[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grep Japanese characters
From: |
Eli Zaretskii |
Subject: |
Re: Grep Japanese characters |
Date: |
Fri, 13 Jul 2018 10:21:40 +0300 |
> From: Tak Kunihiro <homeros.misasa@gmail.com>
> Cc: help-gnu-emacs@gnu.org
> Cc: tkk@misasa.okayama-u.ac.jp
> Date: Fri, 13 Jul 2018 12:36:46 +0900
>
> 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).
Thanks. That's expected, more or less. The conclusion is that UTF-8
can be used as a locale's codeset (good!), but sending UTF-8 text to
the console still doesn't work well (not so good). So if people use
this knob in Windows 10, they should arrange for console input and
output to be in some codepage other than 65001 (a.k.a. UTF-8).
It's possible that using a better font for the console, such as Lucida
Console, will at least allow you to show Latin, Cyrillic, and Greek
characters in HELLO, btw. Not sure what will happen with characters
beyond the BMP, maybe Windows 10 has improved in that part as well.
- Grep Japanese characters, Tak Kunihiro, 2018/07/11
- Re: Grep Japanese characters, Eli Zaretskii, 2018/07/11
- Re: Grep Japanese characters, YUE Daian, 2018/07/11
- Re: Grep Japanese characters, Tak Kunihiro, 2018/07/12
- Re: Grep Japanese characters, Eli Zaretskii, 2018/07/12
- Re: Grep Japanese characters, Tak Kunihiro, 2018/07/12
- Re: Grep Japanese characters,
Eli Zaretskii <=
- Re: Grep Japanese characters, Filipp Gunbin, 2018/07/13
- Re: Grep Japanese characters, Eli Zaretskii, 2018/07/13
- Re: Grep Japanese characters, Filipp Gunbin, 2018/07/16
- Re: Grep Japanese characters, Eli Zaretskii, 2018/07/16
- Re: Grep Japanese characters, YUE Daian, 2018/07/12
- Re: Grep Japanese characters, Eli Zaretskii, 2018/07/12
Re: Grep Japanese characters, Yuri Khan, 2018/07/12