This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Character sets in win32 and cygwin
- To: cygwin-developers at sourceware dot cygnus dot com
- Subject: Re: Character sets in win32 and cygwin
- From: schilling at fokus dot gmd dot de
- Date: Tue, 7 Mar 2000 19:35:43 +0100 (MET)
>From: Chris Faylor <cgf@cygnus.com>
>On Tue, Mar 07, 2000 at 03:33:25PM +0100, schilling@fokus.gmd.de wrote:
>>I have a problem with mkisofs running on win32 using cygwin.
>>If I run mkisofs to create a ISO-9660 CD with Joliet extensions,
>>I get no problems (ISO-8859-1 characters are converted into UNICODE)
>>If I run mkisofs on cygwin, I get all umlauts converted into '_'.
>>
>>It seems that all characters in filenames, all keystrokes are vailable
>>or get converted into the DOS charater set.
>>
>>All outout is assumed to be DOS characters.
>>
>>Is this the expected behaviour?
>>
>>I thought that win32 should be a UNICODE based OS.
>It would probably be best for you to debug whatever cygwin DLL calls
>that mkisofs is using and report on problems there. Possibly this is a
>problem with the startup code in dcrt0.cc which calls SetFileApisToOEM ().
You should know that since about 6 months I am the maintainer of mkisofs.
Mkisofs is a plain POSIX program that uses readdir() to read directory
content. It has been compiled using Cygwin-b20 and behaves the same way
as ls.
To debug you could create a CD on UNIX that uses Joliet and includes
a file Jörg. Mount this CD on Win32 and do a ls -l | cat -v and you will
see that there is ~^T resp. M-^T instead of the expected ö (which
should be M-v)
Did this behaviour change since B20 ?
If you like to have a look at mkisofs, get
ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/cdrecord-1.8.1a02.tar.gz
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