Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mkisofs and Joliet
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
elpuma
n00b
n00b


Joined: 27 Oct 2004
Posts: 19

PostPosted: Mon Dec 27, 2004 3:32 pm    Post subject: mkisofs and Joliet Reply with quote

Hi, this is my problem:

Building an iso image with rockridge and joliet extensions yields a perfect image to use in Linux, however, when I try to read it under Windows, everything is OK except for the special Spanish characters (i.e. an 'í' is displayed as 'Ã-'). What can be happenning?

Thanks in advance...

P.S.: excuse my poor English
_________________
"Because a life in the bathroom / is not a cleaner life"
Back to top
View user's profile Send private message
bennettp
Guru
Guru


Joined: 22 Feb 2004
Posts: 335
Location: on my back and tumbling

PostPosted: Mon Dec 27, 2004 10:33 pm    Post subject: Reply with quote

It looks like there's a problem with the font you're using. IIRC, Joilet uses unicode to store filenames. The console usually uses ISO8859-1, or something similar. I have no idea how you would fix this. I have similar problems with ntfs: the latin charaters look different in KDE than in the console: the console uses ISO8859-1, and KDE uses unicode (i think!).

The other possibility is that your filenames are not using iso8859-1, but mkisofs is. This should be easier to fix: look up the manpage for mkisofs, and look for an option to tell it what character encoding to use.
_________________
Registered Linux User #363420
Back to top
View user's profile Send private message
elpuma
n00b
n00b


Joined: 27 Oct 2004
Posts: 19

PostPosted: Tue Dec 28, 2004 1:42 am    Post subject: Reply with quote

bennettp wrote:
It looks like there's a problem with the font you're using. IIRC, Joilet uses unicode to store filenames. The console usually uses ISO8859-1, or something similar. I have no idea how you would fix this. I have similar problems with ntfs: the latin charaters look different in KDE than in the console: the console uses ISO8859-1, and KDE uses unicode (i think!).

The other possibility is that your filenames are not using iso8859-1, but mkisofs is. This should be easier to fix: look up the manpage for mkisofs, and look for an option to tell it what character encoding to use.


Thanks for the reply!

1st thing: I see those strange names in windows, not the console...

I also found out that mkisofs uses iso8859-1 as the default for the -input-charset option. The problem is that all my files use utf8, and there's no utf8 among the possibles for -input-charset. ¿Any suggestion?
_________________
"Because a life in the bathroom / is not a cleaner life"
Back to top
View user's profile Send private message
elpuma
n00b
n00b


Joined: 27 Oct 2004
Posts: 19

PostPosted: Tue Dec 28, 2004 5:26 am    Post subject: Reply with quote

Now I noticed something else (these are two examples):

é is replaced by é
ô is replaced by ô

é octal representation in UTF-8 is \303\251
ô octal representation in UTF-8 is \303\264
à octal representation in UTF-8 is \303\203
© octal representation in UTF-8 is \302\251
´ octal representation in UTF-8 is \302\264

So, basically, this takes "...\303\264..." and replaces it by "..\303\203\302\264..." or whatever, always inserting the sequence "\203\302" in between.

Any help? Any guidelines towards writing a patch for cdrtools?
_________________
"Because a life in the bathroom / is not a cleaner life"
Back to top
View user's profile Send private message
Bepcyc
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2004
Posts: 130
Location: Moscow, Russia

PostPosted: Sun Jan 09, 2005 12:56 am    Post subject: Reply with quote

I asked this question in different forums - nobody answered me
I googled the internet - found nothing
I have read then man page for mkisofs but found only that Microsoft's Joliet format uses UTF-16 to represent symbols and
Quote:
Note that there is no support for 16 bit UNICODE (UTF-16) or 32 bit
UNICODE (UTF-32) coding because this coding is not POSIX compliant.
There should be support for UTF-8 UNICODE coding which is compatible to
POSIX filenames and supported by moder UNIX implementations such as
Solaris.


As we can see Microsoft did their best again to make our life better... ;(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum