delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/14/17:58:30

X-Spam-Check-By: sourceware.org
Message-ID: <455A4A07.D1E9FCB5@dessent.net>
Date: Tue, 14 Nov 2006 14:58:15 -0800
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin util replacing win-util for UCS-2 -> UTF-8; utf8 support (redux)
References: <455A453A DOT 8060409 AT tlinx DOT org>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Linda Walsh wrote:

> Right now, to convert an NT text file in UCS-2 format, in bash,
> I use:
> 
> mode.com codepage select=65001
> reg export hklm\\software hklm-sw.reg5
> cmd /c type hklm-sw.reg5  > hklm-sw-utf8.txt

Yuck.  Why don't you just use iconv instead?

> What ever happened to the UTF-8 compatibility layer that
> someone wrote a patch for a while back?  I don't recall seeing
> the issue discussed on the list.  I heard mention that it might
> have been on another list, but it seems as a cygwin issue, it
> might have gotten more people interested in the discussion had it
> been discussed here.

<http://www.cygwin.com/ml/cygwin-patches/2006-q3/msg00014.html>

> It's troublesome to have filenames that are valid under
> windows be inaccessible with cygwin utils (like rsync).
> It's a pain that I can't rsync my music directory (which
> contains World-beat music) to my mp3 player without getting
> multiple "file not found" errors. (due to rsync not
> understanding International filenames).

This is unfortunate, I agree, but the problem is that switching
everything to the wide-character version of the win32 APIs is a
significant undertaking, as you can read in the above thread.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019