[Gelistirici] Fwd: Re: UTF-8 volume.label problems

S.Çağlar Onur caglar at pardus.org.tr
20 Kas 2006 Pzt 16:59:39 EET


UTF8 labellı cd'ler mount edilemiyor hatasına istinaden dönen thread'in sonucu

----------  Yönlendirilmiş İleti  ----------

Subject: Re: UTF-8 volume.label problems
Date: 20 Kas 2006 Pts 16:50
From: Joerg Schilling <Joerg.Schilling at fokus.fraunhofer.de>
To: kay.sievers at vrfy.org
Cc: schilling at fokus.fraunhofer.de, hal at lists.freedesktop.org, 
caglar at pardus.org.tr

Kay Sievers <kay.sievers at vrfy.org> wrote:
> mkisofs seems to put a utf-8 character stream in the 16bit-unicode
> storage of a volume descriptor. This looks bogus and the characters need
> to be converted to the proper 16-bit code if they don't fit in 7 bit,
> instead of just copying the utf-8 values there and filling the upper 8
> bit of the 16-bit char with zero.

Mkisofs currently does not support UTF-8 as input character set.

This would need some sort of generalized encoding support....

I am currently thinking about replacing libunls by a file based libsiconv
that will handle everything that is supported today and call libiconf
if on platforms that have libiconv and in case of an otherwise unknown
coding.

There is a patch for mkisofs that uses libiconv but it is horrobly
 nonportable and broken (even a decent c-compiler warns about potential core
 dumps). Due to the low quality of this patch and the fact that it's authors
 are not interested in fixing the problems, I need to implement decent code
 myself.

As you may have noticed, I am currently overhauling mkisofs and I am trying
to fix hundreds of more important problems that have been in mkisofs since
it's early days (before I become the maintainer). After the fixing period
is over and after I did implement multi-extent files (needed to have
files >= 4 GB), iconv support is planned. Meanwhile use ISO-8859-1.

Jörg

--
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)
       schilling at fokus.fraunhofer.de     (work) Blog:
 http://schily.blogspot.com/ URL:  http://cdrecord.berlios.de/old/private/
 ftp://ftp.berlios.de/pub/schily

-------------------------------------------------------

-- 
S.Çağlar Onur <caglar at pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-------------- sonraki bölüm --------------
A non-text attachment was scrubbed...
Name: kullanılamıyor
Type: application/pgp-signature
Size: 189 bytes
Desc: kullanılamıyor
URL: <http://liste.pardus.org.tr/gelistirici/attachments/20061120/ff70cc79/attachment-0002.pgp>


Gelistirici mesaj listesiyle ilgili daha fazla bilgi