Tapatalk

Registry Entry Editing

Registry Entry Editing

32
Basic UserBasic User
32

    Sep 03, 2005#1

    I'm having a problem understanding the config settings to edit registry entries.

    I understand that they aren't text entries (anymore), but rather Unicode.

    Is that UTF-8 or 16? And what is the "No BOM"?

    And If I open a reg entry, when I go to save it, the "Save As" box shows the format as "Default"... And I have screwed myself up totally sometimes by ending up saving them as text files...

    Isn't there a way to make the format recognition and adjustments automatic?

    Geez, this was a piece of cake when they were text files... Why the change?

    Regards,
    Chuck Billow

    6,685587
    Grand MasterGrand Master
    6,685587

      Sep 05, 2005#2

      First, you can still export registry settings with regedit in old Win9x/NT4 format as pure MS-DOS text files. Use the "Save as type" field before save. I don't really know the reason why Microsoft changed the format, but I guess, it is because of Asian characters in paths which need two bytes.

      Registry files in new format are coded in UTF-16 with BOM (Byte Order Marker) with MS-DOS line endings (CR+LF).

      To edit registry files in new format, set following options in UltraEdit at the general configuration dialog.

      Automatically convert to DOS format - (On)
      Auto detect UTF-8 files - (On)
      Write UTF-8 BOM header to ALL UTF-8 files when saved - (Off)
      Write UTF-8 BOM on new files created within this program (if above is not set) - (On)
      Detect Unicode(UTF-16) files without BOM - (On)
      Save file as input format (UNIX/MAC/DOS) - (On)

      With this settings, you should not have problems to edit most type of files.
      Best regards from an UC/UE/UES for Windows user from Austria

      32
      Basic UserBasic User
      32

        Sep 05, 2005#3

        Is there any advantage or disadvantage of using the "old" format?

        Will the item below make any difference when just editing straight text?

        >>Write UTF-8 BOM on new files created within this program (if above is not set) - (On)<<

        Regards,
        Chuck

        6,685587
        Grand MasterGrand Master
        6,685587

          Sep 05, 2005#4

          The option "Write UTF-8 BOM on new files created within this program" has no influence on new text files as long as you do not convert your new ASCII file with the File - Conversions - ASCII to UTF-8 command to an UTF-8 file. So normal new ASCII files are still saved as pure ASCII files without a BOM.

          An advantage of "old" registry format is the smaller file size - only half of the new format. For American and European versions of Windows, there should be no problem using old format. I never had one.

          Another advantage of old format is, that the Insert File command of UltraEdit works without a problem. UltraEdit v11.10b still has problems with finding the correct file position and removing the BOM, if inserting a UTF-16 file into an already opened UTF-16 file.
          Best regards from an UC/UE/UES for Windows user from Austria

          32
          Basic UserBasic User
          32

            Sep 06, 2005#5

            That's great... I'm off to convert all my reg entries... I'm glad to be rid of the UTF issues...

            Thanks

            Chuck