X-Spam-Check-By: sourceware.org Message-ID: <455A4A07.D1E9FCB5@dessent.net> Date: Tue, 14 Nov 2006 14:58:15 -0800 From: Brian Dessent 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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. > 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/