This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: length in gawk returns wrong value


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]