mkisofs can't generate valid joliet for utf-8 filenames

I have recently `moved' to UTF-8 locale (from KOI8-R) and now I'm having troubles creating CDs that contain files with multibyte characters in names. I need the CDs to be readable under MS-windows which is usually achieved using Joliet, but when I specify the option "-jcharset=utf-8" or "-J -input-charset utf-8" mkisofs says, "unknown charset". When I used KOI8-R it worked and generated valid joliet names; now there seems to be no way other than rename files.
I read many articles about mkisofs on Linux and this issue doesn't seem to exist there. Is there any way to solve this under FreeBSD?
 
killasmurf86 said:
try UTF-8 instead of utf-8, some apps are smart enough to only check UPPER case

Thanks for a quick reply, but... Unfortunately, not this time :) I read the mkisofs man and issued [CMD=""]mkisofs -input-charset help[/CMD] but utf-8 is not listed there in either case, nor iso-10646-1, nor any other multibyte charset, yet koi8-r and some other single-byte charsets are listed. As far as I know, cp*** charsets are all single byte. (I don't quote the output here because I don't think it's helpful nor is it anyhow special.)
 
Have you tried sysutils/cdrtools-cjk?

UTF-8 seems to be supported:
This port applies a third-party patch to the ISO-9660 tools which has
support for the following character sets (used with the '-input-charset'
option):
big5 cp1250 cp1251 cp1255 cp437 cp737 cp775 cp850 cp852 cp855 cp857 cp860
cp861 cp862 cp863 cp864 cp865 cp866 cp869 cp874 cp932 cp936 cp949 cp950
euc-jp euc-kr gb2312 iso8859-1 iso8859-13 iso8859-14 iso8859-15 iso8859-2
iso8859-3 iso8859-4 iso8859-5 iso8859-6 iso8859-7 iso8859-8 iso8859-9 koi8-r
koi8-u sjis tis-620 utf8
 
  • Thanks
Reactions: yks
Back
Top