Tristan Evain wrote:
> Hi all,
> I'm trying to enable accented characters on msys 1.0 command line. Because
> the users of the system are french/belgian people who often use accents for
> their directories or files names.
> But for the moment, I'm not even able to display anything when I press keys
> like é, à or ù.
> If I manually create a folder named "tété", an "ls" command returns "t?t?",
> but a tabulation following something like "cd t" displays "tété".
> My stty parameters seems to be correct; with cs8, -istrip and -parenb set.
> And no inputrc is run at login.
> The windows keyboard layout is set to "Belgian French", while the Regional
> Options are set to "English (UK)". Does MSYS read these settings when it
> starts ?
> Please let me know if there's a way to let users use accents.
You can read the batch file to really see what is going on during init of
For me, line 92:
start %WD%rxvt -backspacekey -sl 2500 -fg %FGCOLOR% -bg %BGCOLOR% -sr -fn
Courier-12 -tn msys -geometry 80x25 -e /bin/sh --login -i
The -fn option for font might help with displaying correct characters however
I'm not sure what your choices are, and those are supposed to be within the
ASCII range but only if encoded in ASCII or UTF-8, not sure what rxvt runs in
exactly on MSYS.
Unless rxvt or sh have anything to check locale (which they do on any normal
Linux/Unix system), chances are there is limited support for accented chars
unless it has to do with your locale. I'm not sure it translates the current
Windows locale (such as United States or Belgium) to the correct POSIX
equivalent (such as en_US.UTF-8 or fr_BE.UTF-8). I would try to use English US
or English UK and see if chars show up correctly. But first I would try to
change the font.