This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: UTF8 support in Cygwin


>From: "Chris January" <chris@atomice.net>

>I am working on a patch which would add UTF8 support to Cygwin.
>i.e. Unicode filenames would be encoded as UTF8 before being returned by,
>e.g., readdir and then converted back to Unicode before being passed to the
>Windows API.
>This would solve Ville Herva's problem where he/she wanted to back up a
>filesystem containing Unicode filenames using Cygwin, but found that the
>Unicode characters were converted to question marks. Also, with an
>appropriate terminal, it is actually possible to view the Unicode characters
>(altough at the moment, it is not possible to input them correctly AFAIK).
>The code is currently guarded by a CYGWIN environment variable flag, 'utf8'.

A long awaited feature!

This would really help for "star" and "mkisofs".

Star needs to archive UTF-8 coded names in the POSIX.1-2001 filenames
and "mkisofs" needs to deal with UNICODE names in Joliet and UDF.

How about using the LC_* locale setup to force UTF-8 coding?

Jörg

 EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js@cs.tu-berlin.de		(uni)  If you don't have iso-8859-1
       schilling@fokus.gmd.de		(work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]