-C, --codepage CP print DOS, Windows, or mixed pathname in Windows
codepage CP. CP can be a numeric codepage identifier,
or one of the reserved words ANSI, OEM, or UTF8.
If this option is missing, cygpath defaults to the
character set defined by the current locale.
what
Here's a solution to the GBK locale issue in Bash when opening a new tab in the same directory:
origin ref: https://learn.microsoft.com/en-us/windows/terminal/tutorials/new-tab-same-directory
to
how
cygpath -C