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 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: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit 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