This is the mail archive of the
cygwin-developers
mailing list for the Cygwin project.
Re: utf-8 and cygwin
- From: Gregg Tavares <unison at greggman dot com>
- To: cygwin-developers at cygwin dot com
- Date: Fri, 28 Dec 2007 03:13:40 -0800 (PST)
- Subject: Re: utf-8 and cygwin
I'm sorry to be a bother. I'm trying to helpful. I just need a pointer to get started I hope
I checked out the latest dev build
I got it to compile
Installed the new cygwin1.dll
verified I'm using it (uname -srv)
tried a test script all it does is
cp existingfile.txt <japanesename>.txt
where <japanesename> is kanji for Japan and the script file is encoded in utf-8.
The script doesn't work. I creates a garbage filename meaning the utf-8 filename was not converted. Note that this script does work under that patch I mentioned. I only bring that up to help verify that it's a valid script and in UTF-8, it's not a judgement.
I tried scanning the docs and the various Changelogs to see if I need to do something to enable the new utf-8 support or to figure out how far along it is. Do I need to set LC_CTYPE or some similar environment var, that kind of thing. I probably am just lame but I didn't find anything although I see lots of references to updating stuff in the changelog but I didn't find any docs on how to turn it on or what to expect.
Any idea where I should look?
Thanks.
-Gregg
----- Original Message ----
> From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
> To: cygwin-developers@cygwin.com
> Sent: Thursday, December 27, 2007 5:27:41 PM
> Subject: Re: utf-8 and cygwin
>
> On Thu, Dec 27, 2007 at 04:47:24PM -0800, Gregg Tavares wrote:
> >I narrowed the problems down to 2 things I think.
> >
> >#1) no utf-8 support in cygwin
> >[snip]
> >#2) The filename size limit in cygwin is too short.
> >
> >I see that someone says they are working on it for a future release but a
> search also brought up this patch
> >
> >http://www.okisoft.co.jp/esc/utf8-cygwin/
> >
> >which already does that. I thought maybe whoever is working on future
> >utf-8 support might want to look at that.
>
> It should come as no surprise that neither issue is a surprise and
> Corinna is doing massive amounts of work to rectify the problem in CVS.
>
> If you want to help you should inspect the work that was done there.
> We're not going to be incorporating the utf-8 stuff.
>
> cgf
>