muhhiminminmin / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Cannot enter umlauts and other international characters on swiss keyboard #373

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Get swiss keyboard
2. Try to type in "üäö"

What is the expected output? What do you see instead?

Expected output: üäö
Given output: Weird things such as "(arg: 6)"

What versions of mintty, Cygwin/MSYS, and Windows are you using?

minTTY 1.1.2, MSYS of mingw-w64 and another MSYS of msysgit, Windows 7 64bit

Please provide any additional information below.

I launch mintty like this: start D:/msys/bin/mintty.exe /bin/bash -l
File attached: Video of me entering "üäö" into the terminal.

Original issue reported on code.google.com by ajid...@gmail.com on 24 Feb 2013 at 12:58

GoogleCodeExporter commented 8 years ago
Not a mintty issue. MSYS's bash/readline by default is set up to interpret the 
most significant bit of each byte received as the so-called meta bit, which 
conflicts with input of non-ASCII characters. Fix this by putting the following 
into your ~/.inputrc:

set meta-flag on
set input-meta on
set output-meta on
set convert-meta off

(meta-flag and input-meta are synonyms, so you actually only need on of those.)

Btw, this works properly out-of-the-box in Cygwin, which unlike MSYS has proper 
locale and Unicode support.

Original comment by andy.koppe on 25 Feb 2013 at 5:52

GoogleCodeExporter commented 8 years ago
Thank you very much for your help.

Original comment by ajid...@gmail.com on 28 Feb 2013 at 2:40