delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/19/18:14:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <9948385e1002191508p60b050bdnbac5fbddbdbe906a@mail.gmail.com>
References: <9948385e1002191139l31043acayec402626ded2368c AT mail DOT gmail DOT com> <416096c61002191200g76a10a7eu3f507901bb35e617 AT mail DOT gmail DOT com> <9948385e1002191508p60b050bdnbac5fbddbdbe906a AT mail DOT gmail DOT com>
Date: Sat, 20 Feb 2010 00:14:06 +0100
Message-ID: <9948385e1002191514j192e6a51r30197a2acb81abbd@mail.gmail.com>
Subject: Re: mintty - char encoding problems
From: =?UTF-8?Q?David_Bala=C5=BEic?= <xerces9 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 20 February 2010 00:08, David Bala=C5=BEic <xerces9 AT gmail DOT com> wrote:
> On 19 February 2010 21:00, Andy Koppe <andy DOT koppe AT gmail DOT com> wrote:
>> On 19 February 2010 19:39, David Bala=C5=BEic:
>>> Hi!
>>>
>>> I have few days old setup of cygwin on WinXP.
>>> I also installed mintty.
>>>
>>> I worked fine on one user account, which is a member of the
>>> Administrators group.
>>>
>>> Today I started mintty under another, not admin, user, and got this:
>>>
>>> =C3=82=C2=BB./.bashrc=C3=82=C2=AB -> =C3=82=C2=BB/home/work//.bashrc=C3=
=82=C2=AB
>>> =C3=82=C2=BB./.bash_profile=C3=82=C2=AB -> =C3=82=C2=BB/home/work//.bas=
h_profile=C3=82=C2=AB
>>> =C3=82=C2=BB./.inputrc=C3=82=C2=AB -> =C3=82=C2=BB/home/work//.inputrc=
=C3=82=C2=AB
>>>
>>> I also can not type certain non-ascii chars, that worked fine in the
>>> first user, like =C4=8D=C5=A1=C5=BE.
>>> Now they appear on the bach command line as c ( =C5=A1 and =C5=BE don't=
 appear at all).
>>>
>>> Any idea what is wrong?
>>
>> A mismatch of Cygwin's charset and mintty's charset, probably. What
>> versions of Cygwin and mintty are you using? What are the values of
>> LC_ALL, LC_CTYPE and LANG? Is anything set in the Charset (or
>> Codepage) field on the Text pane of mintty's options?
>
> =C2=A0Cygwin DLL version info:
> =C2=A0 =C2=A0 =C2=A0 =C2=A0DLL version: 1.7.1
> mintty =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0.5.7-1
>
> $LANG is SL , =C2=A0LC_* are undefined
>
> The mintty Text settings are empty.
>
> As mentioned, this is a fresh install and 99,9% of settings are at defaul=
t.
>
> Windows Regional settings are:
> Standards and formats : Slovenian
> Location: United States
> Input Language/Keyborad layout: US English
>

Aha, the other account has:
Standards and formats : English (US)

I changed it on this account too and now it works.
$LANG is now C.UTF-8

It smells like a bug. A non US locale should not disable UTF-8, or?

Regards,
David

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019