X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=v3QXUA7
	uqFUnKycxe3LSA/eFhVV21Edizltj+f0v+qs51RKpufWpN1OEoXviZ5PvAZswIP+
	VzQtHOMZHEnNy+GH/C0PzIvPEqgdJhFeZFhrDZF2bCs2BJWKxGRZlMpeDUcZTZ8a
	nPqpgrBsjFleJJWRt5MZzWdjekEZ/I42WPtg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=LvB5wDJGGFr9w
	1/H3OCqQbQyv/A=; b=HMY33X7yOZsQ9hkVduAgKV6oi/e7hNJ/94n/pe8I3ZxBC
	KIWctYmc5wdW1SnmHtVCVaNCSq7otIhtojPHpHz5CBvKME18JdaW6Xj4cVuDQ206
	4gCYndCaTQaF0uZnnVRGmU0BB5Q18Hc3eZDKI/4XGJ8xGjPb9qRz5yfWzd1brI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_40,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HK_RANDOM_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-wg0-f49.google.com
X-Received: by 10.194.92.42 with SMTP id cj10mr33549039wjb.6.1415540357279; Sun, 09 Nov 2014 05:39:17 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <CAPohJAd_kPFhCRvy_2k2Gh9=hAmLgvUWOBjHwQCOG1m4LmK7uA@mail.gmail.com>
References: <CAPohJAd_kPFhCRvy_2k2Gh9=hAmLgvUWOBjHwQCOG1m4LmK7uA@mail.gmail.com>
From: Doug Henderson <djndnbvg@gmail.com>
Date: Sun, 9 Nov 2014 06:38:57 -0700
Message-ID: <CAJ1FpuNeN2kErbp+biUVgQpHDrqQAmz3bO0ici5mcsT_Vkv5Mg@mail.gmail.com>
Subject: Re: Problem with accents
To: cygwin <cygwin@cygwin.com>
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

On 9 November 2014 03:43, Wafer CCC wrote:
> Hello,
>
> I'm french and i use cygwin on Windows 7, and I have a problem with accents.
> When i tape :
>   net start
> Accents are not correctly displayed.

If you are running cygwin in the default mintty console, check the
setting of the locale and character set in the mintty settings. On the
settings text page, set the Character set to UTF-8 (it may display as
UTF-8 (Unicode) in the drop-down. Also set the Locale to the right
language and region. You will have at least C in the drop-down, plus
any others from your windows regional configuration.

In the shell you should have the LANG variable set to the same values.
"echo $LANG" should display something like fr_FR.UTF-8 which will
correspond to the settings in mintty.

If you run cygwin in a command window, or another console, you may
have to set the LANG variable in your .bash_profile or .bashrc in your
home directory using "export LANG=en_FR.UTF-8", as well as configure
that console program.

As a test, you create a small text file with Notepad with some
accented characters, they should display correctly when you "cat" the
file from cygwin.

Doug

-- 
Doug Henderson, Calgary, Alberta, Canada

--
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

