X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=regedit%2Fhivexregedit;h=d177d4f90baf8fe62de39c7ad4b80ffcfb674e08;hb=refs%2Ftags%2F1.2.2;hp=0ad1352be801b58f5593440cd25727ee2c969fc4;hpb=70760da7f41e0ebc45122090ed624a6fea60b5d7;p=hivex.git diff --git a/regedit/hivexregedit b/regedit/hivexregedit index 0ad1352..d177d4f 100755 --- a/regedit/hivexregedit +++ b/regedit/hivexregedit @@ -51,13 +51,13 @@ C<--export> exports a Registry key (recursively) into the regedit format. =head2 ENCODING -C expects that regedit files have already been reencoded +C expects that regedit files have already been re-encoded in the local encoding. Usually on Linux hosts, this means UTF-8 with Unix-style line endings. Since Windows regedit files are often in -UTF-16LE with Windows-style line endings, you may need to reencode the +UTF-16LE with Windows-style line endings, you may need to re-encode the whole file before or after processing. -To reencode a file from Windows format to Linux (before processing it +To re-encode a file from Windows format to Linux (before processing it with the C<--merge> option), you would do something like this: iconv -f utf-16le -t utf-8 < win.reg | dos2unix > linux.reg