First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 129759
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: optical media herd <media-optical@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Rudo Thomas <rudo@matfyz.cz>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mkisofs-iconv-10-2.01.01_alpha11.patch This works to me. patch Kim Seongcheol 2006-07-21 18:56 0000 16.40 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 129759 depends on: Show dependency tree
Bug 129759 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-12 16:12 0000
Hello.

Recently, app-cdr/cdrtools-2.01.01_alpha07 has been marked stable. In the
ChangeLog, I noticed there is supposed to be a "a better fix for unicode".
While this does fix displaying the name of cdrtools author, the patch
(mkisofs-iconv-10.patch) that made it possible to create (valid) ISO images
with Joliet extensions under UTF-8 locale was removed from the ebuild.

To reproduce, create a file with some accents in its name (I'll use &#269;

------- Comment #1 From Rudo Thomas 2006-04-12 16:12:08 0000 -------
Hello.

Recently, app-cdr/cdrtools-2.01.01_alpha07 has been marked stable. In the
ChangeLog, I noticed there is supposed to be a "a better fix for unicode".
While this does fix displaying the name of cdrtools author, the patch
(mkisofs-iconv-10.patch) that made it possible to create (valid) ISO images
with Joliet extensions under UTF-8 locale was removed from the ebuild.

To reproduce, create a file with some accents in its name (I'll use
&#269;ú&#269;o.txt here) and run:

# mkisofs -r -J -o i.iso &#269;ú&#269;o.txt
# mount -o loop,utf8,norock i.iso /mnt
# ls -l /mnt

You see garbled filename (you can get the same result by running "recode
l1..utf8 <<<&#269;ú&#269;o.txt").

cdrtools-2.01-r3 works without problems in this regard.

------- Comment #2 From Rudo Thomas 2006-04-12 16:24:48 0000 -------
Hmm, I see bugzilla could not cope with the accented text either ;-)))

You should get the idea nevertheless.

------- Comment #3 From madalexonline@yahoo.co.uk 2006-05-01 04:44:32 0000 -------
Indeed, forcing the use of utf8 with
# mkisofs -input-charset=utf8
no longer works; it complains "Unknown charset"

------- Comment #4 From Anton Romanov 2006-06-19 08:43:42 0000 -------
cdrtools-2.01.01_alpha10 behaves in the same way :(

------- Comment #5 From Lars Weiler (RETIRED) 2006-06-19 16:47:20 0000 -------
(In reply to comment #3)
> cdrtools-2.01.01_alpha10 behaves in the same way :(

Strange.  I though I already posted an update to that bug several days ago.

I tried to apply the patch to the current alpha10-release of cdrtools, but I
had no luck.  Even with patching the patch I could not get it working.  Too
many things changed and I'm not used to cdrtool's code.

The utf8-USE-flag indeed just enables proper output of the messages, but can't
handle the iso-creation with utf-8 filenames.

It's much appreciated if somebody can send in a patch that works with alpha10.

------- Comment #6 From Kim Seongcheol 2006-07-21 18:56:29 0000 -------
Created an attachment (id=92466) [details]
This works to me.

I'm not a programmer but made a patch based on the original
mkisofs-iconv-10.patch.
not sure it is in the right way, but it works to me.
If it's in a wrong way, please someone fix that.

------- Comment #7 From Jakub Moc (RETIRED) 2006-09-04 10:15:07 0000 -------
*** Bug 146287 has been marked as a duplicate of this bug. ***

------- Comment #8 From Lars Weiler (RETIRED) 2006-10-28 01:55:41 0000 -------
(In reply to comment #5)
> not sure it is in the right way, but it works to me.

Great, that seems to work:

elladan tmp # mkisofs -r -J -o i.iso &#337;&#369;

------- Comment #9 From Lars Weiler (RETIRED) 2006-10-28 01:55:41 0000 -------
(In reply to comment #5)
> not sure it is in the right way, but it works to me.

Great, that seems to work:

elladan tmp # mkisofs -r -J -o i.iso &#337;&#369;þ&#8364;&#26505;a.txt
INFO:   UTF-8 character encoding detected by locale settings.
        Assuming UTF-8 encoded filenames on source filesystem,
        use -input-charset to override.
Total translation table size: 0
Total rockridge attributes bytes: 258
Total directory bytes: 0
Path table size(bytes): 10
Max brk space used 0
182 extents written (0 MB)
elladan tmp # mount -o loop,utf8,norock i.iso /mnt/misc/
elladan tmp # ls -l /mnt/misc/
total 1
-r-xr-xr-x 1 root root 17 28. Okt 10:49 &#337;&#369;þ&#8364;&#26505;a.txt


I'm going to apply your patch to all newer versions of cdrtools in the tree.

------- Comment #10 From Lars Weiler (RETIRED) 2006-10-28 04:19:22 0000 -------
It's in portage, so let's close this bug.

First Last Prev Next    No search results available      Search page      Enter new bug