delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/11/07:05:30

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AAA2EE8.4070209@fmail.co.uk>
Date: Fri, 11 Sep 2009 18:05:12 +0700
From: Kit Johnson <subscribed AT fmail DOT co DOT uk>
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin Digest 10 Sep 2009 16:45:51 -0000 Issue 6623
References: <1252601151 DOT 20705 DOT ezmlm AT cygwin DOT com>
In-Reply-To: <1252601151.20705.ezmlm@cygwin.com>
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

> 2009/9/10 Kit Johnson:
>> Thanks so much for taking the time to help.  This is the first time I've
>> used a mailing list so I hope I've replied correctly.
>>     
>
> Yep, except you replied to me instead of the list. ;)
>   
I hope I got the right address this time!
> Are you running the Cygwin 1.7 beta? 1.5 doesn't support locales.
> ('uname -r' will tell you.)
>   
I've just upgraded to the beta version (1.7.0). 

I understand your comments.  This is now in my cygwin.bat file 
(definitely for the correct, beta, installation):
@echo off

C:
chdir C:\cyg\bin
set LANG=th_TH.UTF-8
bash --login -i

And these lines in my .bashrc file (also definitely the correct 
installation):

alias ls='ls -hF --color=tty --show-control-chars'                 # 
classify files in colour
export LANG="th_TH.UTF-8"

And yet it's still not listing unicode characters properly.  Now that 
I've upgraded, it's not giving any warning messages ("ls: cannot access 
???????????????? : No such file or directory.")
when running 'ls' in a folder with Thai filenames.  It's just listing 
????.doc or whatever.

I cannot see the solution but would be really grateful if someone else 
can.  It's a pretty critical feature for me to get working if I want to 
use cygwin.

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