Fix regdit output for Windows 2003 SOFTWARE hive.
authorRichard W.M. Jones <rjones@redhat.com>
Fri, 8 Aug 2014 11:11:38 +0000 (12:11 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Fri, 8 Aug 2014 11:11:38 +0000 (12:11 +0100)
This was failing a test against hivex.  The question is -- which
is wrong, hivex or the test data?

I checked back with the original binary hive, and the raw key does
indeed contain ISO-8859-1 encoded strings, NOT UTF-8 strings, and
therefore the regedit file should contain ISO-8859-1 here.

windows-2003-server-software.reg

index ccfa68a..7c77003 100644 (file)
@@ -222249,7 +222249,7 @@ Windows Registry Editor Version 5.00
 
 [\Wow6432Node\ODBC\ODBCINST.INI]
 
-[\Wow6432Node\ODBC\ODBCINST.INI\Conversor de página de código MS]
+[\Wow6432Node\ODBC\ODBCINST.INI\Conversor de página de código MS]
 "Setup"=hex(1):43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4d,00,53,00,43,00,50,00,58,00,4c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
 "Translator"=hex(1):43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4d,00,53,00,43,00,50,00,58,00,4c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
 "UsageCount"=dword:00000002
@@ -222325,7 +222325,7 @@ Windows Registry Editor Version 5.00
 "Translator"=hex(1):43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4d,00,53,00,43,00,50,00,58,00,4c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
 "UsageCount"=dword:00000002
 
-[\Wow6432Node\ODBC\ODBCINST.INI\MS Code Page-Übersetzer]
+[\Wow6432Node\ODBC\ODBCINST.INI\MS Code Page-Übersetzer]
 "Setup"=hex(1):43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4d,00,53,00,43,00,50,00,58,00,4c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
 "Translator"=hex(1):43,00,3a,00,5c,00,57,00,49,00,4e,00,44,00,4f,00,57,00,53,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4d,00,53,00,43,00,50,00,58,00,4c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
 "UsageCount"=dword:00000002
@@ -222523,9 +222523,9 @@ Windows Registry Editor Version 5.00
 "SQL Server"=hex(1):49,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,65,00,64,00,00,00
 
 [\Wow6432Node\ODBC\ODBCINST.INI\ODBC Translators]
-"Conversor de página de código MS"=hex(1):49,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,65,00,64,00,00,00
+"Conversor de página de código MS"=hex(1):49,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,65,00,64,00,00,00
 "MS Code Page Translator"=hex(1):49,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,65,00,64,00,00,00
-"MS Code Page-Übersetzer"=hex(1):49,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,65,00,64,00,00,00
+"MS Code Page-Übersetzer"=hex(1):49,00,6e,00,73,00,74,00,61,00,6c,00,6c,00,65,00,64,00,00,00
 
 [\Wow6432Node\ODBC\ODBCINST.INI\SQL Server]
 "APILevel"=hex(1):32,00,00,00