From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23051 invoked by alias); 19 Jul 2012 16:17:18 -0000 Received: (qmail 22942 invoked by uid 22791); 19 Jul 2012 16:17:14 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from blu0-omc1-s7.blu0.hotmail.com (HELO blu0-omc1-s7.blu0.hotmail.com) (65.55.116.18) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Jul 2012 16:16:57 +0000 Received: from BLU0-SMTP167 ([65.55.116.7]) by blu0-omc1-s7.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 19 Jul 2012 09:16:56 -0700 Message-ID: Received: from [127.0.0.1] ([77.27.89.90]) by BLU0-SMTP167.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 19 Jul 2012 09:16:55 -0700 Date: Thu, 19 Jul 2012 16:17:00 -0000 From: Aaron Schneider User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: length in gawk returns wrong value References: <20120719092024.GA31055@calimero.vinschen.de> <20120719113927.GH31055@calimero.vinschen.de> <20120719145544.GL31055@calimero.vinschen.de> In-Reply-To: <20120719145544.GL31055@calimero.vinschen.de> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-07/txt/msg00399.txt.bz2 On 19/07/2012 16:55, Corinna Vinschen wrote: > On Jul 19 15:58, Aaron Schneider wrote: >> On 19/07/2012 14:35, Csaba Raduly wrote: >>> >>> Proving, once again, that "There Ain't No Such Thing as Plain Text" >>> http://www.joelonsoftware.com/articles/Unicode.html >>> >>> >>> Csaba >>> >> >> No idea, but can't cygwin come with native UTF-8 enabled by default >> so the behavior is the same for everyone? > > It is. See /etc/profile.d/lang.{sh,csh} > > > Corinna > Looking at /etc/profile.d/lang.csh if ( $?LC_ALL == 0 && $?LC_CTYPE == 0 && $?LANG == 0 ) setenv LANG `/usr/bin/locale -uU` I wonder why in my system the setenv command does not exist: $ setenv -bash: setenv: command not found and why the if structure is not followed if (test for true) then command ; fi On the other side, /etc/profile.d/lang.sh seems to be ok. -- 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