New -as mkisofs option -joliet-utf16

This commit is contained in:
Thomas Schmitt 2013-12-18 07:45:29 +00:00
parent 8d9d77bfb6
commit da50c59d27
5 changed files with 64 additions and 39 deletions

View File

@ -597,7 +597,7 @@ int Xorriso_genisofs_count_args(struct XorrisO *xorriso, int argc, char **argv,
"--old-root-no-md5", "--old-root-devno", "--old-root-no-ino", "--old-root-no-md5", "--old-root-devno", "--old-root-no-ino",
"--no_rc", "--norock", "-hfsplus", "-fat", "-chrp-boot-part", "--no_rc", "--norock", "-hfsplus", "-fat", "-chrp-boot-part",
"-isohybrid-gpt-basdat", "-isohybrid-gpt-hfsplus", "-isohybrid-gpt-basdat", "-isohybrid-gpt-hfsplus",
"-isohybrid-apm-hfsplus", "--grub2-boot-info", "-isohybrid-apm-hfsplus", "--grub2-boot-info", "-joliet-utf16",
"" ""
}; };
static char arg1_options[][41]= { static char arg1_options[][41]= {
@ -761,6 +761,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag)
" -disallow_dir_id_ext Do not allow dot in ISO directory names", " -disallow_dir_id_ext Do not allow dot in ISO directory names",
" -J, -joliet Generate Joliet directory information", " -J, -joliet Generate Joliet directory information",
" -joliet-long Allow Joliet file names to be 103 Unicode characters", " -joliet-long Allow Joliet file names to be 103 Unicode characters",
" -joliet-utf16 Encode Joliet names in UTF-16BE rather than UCS-2",
" -U, -untranslated-filenames Allow Untranslated filenames (for HPUX & AIX - violates ISO9660).", " -U, -untranslated-filenames Allow Untranslated filenames (for HPUX & AIX - violates ISO9660).",
" -untranslated_name_len LEN Allow up to LEN (1..96) name characters (heavily violates ISO9660).", " -untranslated_name_len LEN Allow up to LEN (1..96) name characters (heavily violates ISO9660).",
" -allow-lowercase Allow lower case characters in addition to the current character set (violates ISO9660)", " -allow-lowercase Allow lower case characters in addition to the current character set (violates ISO9660)",
@ -1592,6 +1593,8 @@ illegal_c:;
} else if(strcmp(argpt, "-joliet-long")==0) { } else if(strcmp(argpt, "-joliet-long")==0) {
Xorriso_relax_compliance(xorriso, Xorriso_relax_compliance(xorriso,
"joliet_long_paths:joliet_long_names", 0); "joliet_long_paths:joliet_long_names", 0);
} else if(strcmp(argpt, "-joliet-utf16")==0) {
Xorriso_relax_compliance(xorriso, "joliet_utf16", 0);
} else if(strcmp(argpt, "-fat") == 0) { } else if(strcmp(argpt, "-fat") == 0) {
/* was already handled in first argument scan */; /* was already handled in first argument scan */;
} else if(strcmp(argpt, "-hfs-bless") == 0 || } else if(strcmp(argpt, "-hfs-bless") == 0 ||

View File

@ -1 +1 @@
#define Xorriso_timestamP "2013.12.18.074219" #define Xorriso_timestamP "2013.12.18.074401"

View File

@ -9,7 +9,7 @@
.\" First parameter, NAME, should be all caps .\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1) .\" other parameters are allowed: see man(7), man(1)
.TH XORRISOFS 1 "Version 1.3.5, Dec 12, 2013" .TH XORRISOFS 1 "Version 1.3.5, Dec 16, 2013"
.\" Please adjust this date whenever revising the manpage. .\" Please adjust this date whenever revising the manpage.
.\" .\"
.\" Some roff macros, for reference: .\" Some roff macros, for reference:
@ -654,6 +654,12 @@ by the specification. Allow Joliet paths longer than the prescribed limit of
Oversized names get truncated. Without this option, oversized paths get Oversized names get truncated. Without this option, oversized paths get
excluded from the Joliet tree. excluded from the Joliet tree.
.TP .TP
\fB\-joliet-utf16\fR
Encode Joliet file names in UTF\-16BE rather than UCS\-2.
The difference is with characters which are not present
in UCS\-2 and get encoded in UTF\-16 by 2 words of 16 bit each.
Both words then stem from a reserved subset of UCS\-2.
.TP
\fB\-hfsplus\fR \fB\-hfsplus\fR
Enable the production of an additional HFS+ filesystem inside the ISO 9660 Enable the production of an additional HFS+ filesystem inside the ISO 9660
image and mark it by Apple Partition Map (APM) entries in the System Area, image and mark it by Apple Partition Map (APM) entries in the System Area,

View File

@ -647,6 +647,12 @@ File: xorrisofs.info, Node: SetExtras, Next: SetHide, Prev: SetCompl, Up: Op
Oversized names get truncated. Without this option, oversized Oversized names get truncated. Without this option, oversized
paths get excluded from the Joliet tree. paths get excluded from the Joliet tree.
-joliet-utf16
Encode Joliet file names in UTF-16BE rather than UCS-2. The
difference is with characters which are not present in UCS-2 and
get encoded in UTF-16 by 2 words of 16 bit each. Both words then
stem from a reserved subset of UCS-2.
-hfsplus -hfsplus
Enable the production of an additional HFS+ filesystem inside the Enable the production of an additional HFS+ filesystem inside the
ISO 9660 image and mark it by Apple Partition Map (APM) entries in ISO 9660 image and mark it by Apple Partition Map (APM) entries in
@ -1869,15 +1875,15 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
(line 31) (line 31)
* -hard-disk-boot El Torito boot image emulation: Bootable. (line 68) * -hard-disk-boot El Torito boot image emulation: Bootable. (line 68)
* -help list supported options: Miscellaneous. (line 23) * -help list supported options: Miscellaneous. (line 23)
* -hfs-bless HFS+ blessing ppc_bootdir: SetExtras. (line 182) * -hfs-bless HFS+ blessing ppc_bootdir: SetExtras. (line 188)
* -hfs-bless-by HFS+ blessing: SetExtras. (line 171) * -hfs-bless-by HFS+ blessing: SetExtras. (line 177)
* -hfsplus enable production of HFS+ partition: SetExtras. (line 124) * -hfsplus enable production of HFS+ partition: SetExtras. (line 130)
* -hfsplus-block-size set APM block size: SetExtras. (line 159) * -hfsplus-block-size set APM block size: SetExtras. (line 165)
* -hfsplus-block-size set HFS+ allocation block size: SetExtras. * -hfsplus-block-size set HFS+ allocation block size: SetExtras.
(line 154) (line 160)
* -hfsplus-file-creator-type HFS+ creator-type attribute: SetExtras. * -hfsplus-file-creator-type HFS+ creator-type attribute: SetExtras.
(line 167) (line 173)
* -hfsplus-serial-no set HFS+ serial number: SetExtras. (line 149) * -hfsplus-serial-no set HFS+ serial number: SetExtras. (line 155)
* -hide keep matching files invisible in ISO tree: SetHide. (line 8) * -hide keep matching files invisible in ISO tree: SetHide. (line 8)
* -hide-hfsplus keep matching files invisible in HFS+ tree: SetHide. * -hide-hfsplus keep matching files invisible in HFS+ tree: SetHide.
(line 29) (line 29)
@ -1913,6 +1919,7 @@ File: xorrisofs.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: T
* -joliet enable production of Joliet directory tree: SetExtras. * -joliet enable production of Joliet directory tree: SetExtras.
(line 114) (line 114)
* -joliet-long allow longer Joliet names: SetExtras. (line 117) * -joliet-long allow longer Joliet names: SetExtras. (line 117)
* -joliet-utf16 use UTF-16 with Joliet names: SetExtras. (line 124)
* -l allow 31 characters in ISO file names: SetCompl. (line 63) * -l allow 31 characters in ISO file names: SetCompl. (line 63)
* -log-file redirect stderr messages: Miscellaneous. (line 35) * -log-file redirect stderr messages: Miscellaneous. (line 35)
* -m exclude disk files from inserting: SetInsert. (line 35) * -m exclude disk files from inserting: SetInsert. (line 35)
@ -2069,14 +2076,14 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* Forced output, control, --stdio_sync: SetProduct. (line 25) * Forced output, control, --stdio_sync: SetProduct. (line 25)
* GPT, _definition: SystemArea. (line 13) * GPT, _definition: SystemArea. (line 13)
* HFS+, _definition: Standards. (line 32) * HFS+, _definition: Standards. (line 32)
* HFS+, enables production: SetExtras. (line 124) * HFS+, enables production: SetExtras. (line 130)
* HFS+, issue blessing ppc_bootdir, -hfs-bless: SetExtras. (line 182) * HFS+, issue blessing ppc_bootdir, -hfs-bless: SetExtras. (line 188)
* HFS+, issue blessing, -hfs-bless-by: SetExtras. (line 171) * HFS+, issue blessing, -hfs-bless-by: SetExtras. (line 177)
* HFS+, set allocation block size: SetExtras. (line 154) * HFS+, set allocation block size: SetExtras. (line 160)
* HFS+, set APM block size: SetExtras. (line 159) * HFS+, set APM block size: SetExtras. (line 165)
* HFS+, set creator and type of file, -hfsplus-file-creator-type: SetExtras. * HFS+, set creator and type of file, -hfsplus-file-creator-type: SetExtras.
(line 167) (line 173)
* HFS+, set serial number: SetExtras. (line 149) * HFS+, set serial number: SetExtras. (line 155)
* Hiding, from HFS+, -hide-hfsplus: SetHide. (line 29) * Hiding, from HFS+, -hide-hfsplus: SetHide. (line 29)
* Hiding, from HFS+, -hide-hfsplus-list: SetHide. (line 33) * Hiding, from HFS+, -hide-hfsplus-list: SetHide. (line 33)
* Hiding, from ISO and Rock Ridge, -hide: SetHide. (line 8) * Hiding, from ISO and Rock Ridge, -hide: SetHide. (line 8)
@ -2173,6 +2180,7 @@ File: xorrisofs.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
* System Id, set, -sysid: ImageId. (line 49) * System Id, set, -sysid: ImageId. (line 49)
* Table-of-content, emulation off, --no-emul-toc: SetProduct. (line 44) * Table-of-content, emulation off, --no-emul-toc: SetProduct. (line 44)
* Table-of-content, emulation, --emul-toc: SetProduct. (line 35) * Table-of-content, emulation, --emul-toc: SetProduct. (line 35)
* UTF-16, for Joliet paths, -joliet-utf16: SetExtras. (line 124)
* Verbosity, high, -v, -verbose: Miscellaneous. (line 40) * Verbosity, high, -v, -verbose: Miscellaneous. (line 40)
* Volume Id, set, -V, -volid: ImageId. (line 13) * Volume Id, set, -V, -volid: ImageId. (line 13)
* Volume Set Id, set, -volset: ImageId. (line 26) * Volume Set Id, set, -volset: ImageId. (line 26)
@ -2196,26 +2204,26 @@ Node: SetInsert9732
Node: SetProduct14148 Node: SetProduct14148
Node: SetCompl19142 Node: SetCompl19142
Node: SetExtras21738 Node: SetExtras21738
Node: SetHide30147 Node: SetHide30412
Node: ImageId31455 Node: ImageId31720
Node: Bootable35623 Node: Bootable35888
Node: SystemArea40617 Node: SystemArea40882
Node: Charset50914 Node: Charset51179
Node: Jigdo51940 Node: Jigdo52205
Node: Miscellaneous56207 Node: Miscellaneous56472
Node: Examples57851 Node: Examples58116
Node: ExSimple58337 Node: ExSimple58602
Node: ExGraft58816 Node: ExGraft59081
Node: ExMkisofs60063 Node: ExMkisofs60328
Node: ExGrowisofs61316 Node: ExGrowisofs61581
Node: ExIncBackup62488 Node: ExIncBackup62753
Node: ExIncBckAcc65596 Node: ExIncBckAcc65861
Node: ExBootable67272 Node: ExBootable67537
Node: Files69364 Node: Files69629
Node: Seealso70438 Node: Seealso70703
Node: Bugreport71094 Node: Bugreport71359
Node: Legal71675 Node: Legal71940
Node: CommandIdx72570 Node: CommandIdx72835
Node: ConceptIdx87199 Node: ConceptIdx87537
 
End Tag Table End Tag Table

View File

@ -50,7 +50,7 @@
@c man .\" First parameter, NAME, should be all caps @c man .\" First parameter, NAME, should be all caps
@c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection @c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
@c man .\" other parameters are allowed: see man(7), man(1) @c man .\" other parameters are allowed: see man(7), man(1)
@c man .TH XORRISOFS 1 "Version 1.3.5, Dec 12, 2013" @c man .TH XORRISOFS 1 "Version 1.3.5, Dec 16, 2013"
@c man .\" Please adjust this date whenever revising the manpage. @c man .\" Please adjust this date whenever revising the manpage.
@c man .\" @c man .\"
@c man .\" Some roff macros, for reference: @c man .\" Some roff macros, for reference:
@ -919,6 +919,14 @@ by the specification. Allow Joliet paths longer than the prescribed limit of
Oversized names get truncated. Without this option, oversized paths get Oversized names get truncated. Without this option, oversized paths get
excluded from the Joliet tree. excluded from the Joliet tree.
@c man .TP @c man .TP
@item -joliet-utf16
@kindex -joliet-utf16 use UTF-16 with Joliet names
@cindex UTF-16, for Joliet paths, -joliet-utf16
Encode Joliet file names in UTF-16BE rather than UCS-2.
The difference is with characters which are not present
in UCS-2 and get encoded in UTF-16 by 2 words of 16 bit each.
Both words then stem from a reserved subset of UCS-2.
@c man .TP
@item -hfsplus @item -hfsplus
@kindex -hfsplus enable production of HFS+ partition @kindex -hfsplus enable production of HFS+ partition
@cindex HFS+, enables production @cindex HFS+, enables production