delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/19/16:16:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,SARE_FREE_WEBM_LAPOSTE,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <50086B4A.6090801@laposte.net>
Date: Thu, 19 Jul 2012 22:17:14 +0200
From: Cyrille Lefevre <cyrille DOT lefevre-lists AT laposte DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Internal echo of shell beaves (sometimes) different to external echo
References: <loom DOT 20120719T162931-952 AT post DOT gmane DOT org>
In-Reply-To: <loom.20120719T162931-952@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q6JKGHJE023140

Le 19/07/2012 16:51, Ralf a écrit :
> Is there a way to get the right umlaut with the internal echo of the shell?
> Example script:
>
> export LC_ALL=de_DE

seems to default to iso8859-1 or something like that, let's try

export LC_ALL=de_DE.UTF-8

which should work better...

also, check your that terminal setting is UTF-8 both for input/output.

tried using fr_FR vs fr_FR.UTF-8 and echo vs /bin/echo, both work well 
in all case !


Regards,

Cyrille Lefevre
-- 
mailto:Cyrille DOT Lefevre-lists AT laposte DOT net




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