| delorie.com/archives/browse.cgi | search |
| 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 |
| Message-ID: | <42A6A7F2.8060505@atomice.net> |
| Date: | Wed, 08 Jun 2005 09:10:26 +0100 |
| From: | Chris January <chris AT atomice DOT net> |
| User-Agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Unicode in filenames support? |
| References: | <42A547D8 DOT 9000707 AT ropas DOT snu DOT ac DOT kr> |
| In-Reply-To: | <42A547D8.9000707@ropas.snu.ac.kr> |
| X-IsSubscribed: | yes |
Jaeho Shin wrote:
> I'm having problem with accessing files that have Unicode in their
> filenames.
>
> 1. I use Windows XP Korean version (so the codepage must be 949?).
> 2. I use iTunes to listen to my music.
> 3. Files in iTunes Library have filenames in the following format:
> "{Artist}/{Album}/{Track#} {Title}.mp3"
> where names inside braces are values from its ID3-tag.
> 4. Some of my mp3s have Japanese or Latin characters,
> e.g. é (Latin small letter e with acute).
> In ID3-tags, those characters seem to be in UCS-2 encoding or so,
> but not in CP949 or EUC-KR.
> 5. I want to rsync those files to my other Linux machine.
> 6. But rsync complains some files (whose name contains such
> special/Unicode characters perhaps?) have vanished! :'(
>
> With Windows Explorer, I can copy them to a Samba share (with utf-8
> encoding) without any problem. However, from the Cygwin environment, it
> seems that there is no way I can access those files.
>
> I tried the "mount -o managed" option which escapes capitals and other
> non-ascii characters in filenames. It wasn't a solution for me since
> iTunes (not Cygwin) mainly manages the files.
>
> Since I really want to use rsync, I hope Cygwin to be able to access
> Unicode filenames. It would be great if I could mount a filesystem with
> a charset or encoding specified. Is there any nice way already I can
> solve this problem?
>
Some time ago I wrote a patch for Cygwin that converted Unicode files to
UTF-8 and back. Maybe you can dig that up and see if you can get it
working with the latest Cygwin code.
Chris
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |