How do I get accented letters to actually work on bash?

后端 未结 1 1324
太阳男子
太阳男子 2021-02-02 07:46

My bash installation on cygwin doesn\'t handle accented letters properly. I tried adding

set input-meta on    # to accept 8-bit characters
set output-meta on   #         


        
1条回答
  •  有刺的猬
    2021-02-02 08:44

    To get accented letters on bash via Cygwin using Mintty 1.1.2 just do the following:

    1. Go to the menu (if you don't see any menu, right click on your Terminal).
    2. Click Options....
    3. Click Text.
    4. Change the Locale to C.
    5. Change the Character set to ISO-8859-1 (Western European).

    Changing Locale and Character set in Mintty 1.1.2

    Then test it:

    Echoing accented letters in Mintty 1.1.2

    0 讨论(0)
提交回复
热议问题