In fact, if you select SJIS in the locale above, it will be resolved, but this time you will not be able to display the Japanese file name on ls.s.This is because Bash locale is UTF8.
So for standard Windows commands, wouldn't it be best practice to have the code page Unicode and display it in English?
If there is a better way, please reply.
If I set SJIS to LANG, I could also display the Japanese file name.
Options
, configure Locale
and Character set
as follows:
Set the environment variable LANG in terminal (mintty) as follows:
In Options
, configure Locale
and Character set
as follows:
Set the LANG environment variable on the terminal (mintty) as follows:
LANG=ja_JP.sjis
route/?
does not corrupt Japanese.
$route/?
Manipulate the network routing table.
ROUTE [-f][-p][-4 | -6] command [destination]
MASK netmask gateway METRIC metric IF interface
Clearing all gateway entries in the -f routing table
Yes, if this option is used with the command, execute the command
The table is cleared before you do .
I was able to display a file with Chinese characters.
$ls-l/c/junc/Chinese name file.txt
-rw-r--r--1XXXXXX00 May 901:59/c/junc/Chinese name file.txt
XXX XXXX is hidden.
© 2024 OneMinuteCode. All rights reserved.