Page 1 of 1

Editing

Posted: Mon Jul 30, 2012 3:25 am
by CWBillow
I seem to somehow have the darnedest time editing registry entries -- specifically Registry Editor Version 5.00 entries.

Somehow I always end up with them having the wrong format when I try to run them.

I have the class configured to save as UTF-8...what else am I missing or need to do to make merging the entries work?

Regards,
Chuck Billow

Posted: Mon Jul 30, 2012 9:21 am
by ak47wong
You've asked this question before. Here's your answer again: http://forums.textpad.com/viewtopic.php?t=8825

Posted: Sun Aug 05, 2012 6:45 am
by CWBillow
ak47wong wrote:You've asked this question before. Here's your answer again: http://forums.textpad.com/viewtopic.php?t=8825
Sorry 'bout that.

Thanks,
Chuck

Posted: Sun Aug 05, 2012 7:07 am
by CWBillow
ak47wong wrote:You've asked this question before. Here's your answer again: http://forums.textpad.com/viewtopic.php?t=8825
OK, I went back and re-read the entry, which says, in part:

For Windows registry files you need UTF-16LE with BOM. If you open an existing registry file in binary format, you will see that it begins with FF FE.
Select Configure | Preferences | Document Classes | <Class> | Write Unicode and UTF-8 BOM
or View | Document Properties | Preferences | Write Unicode and UTF-8 BOM
and use
File | Save As... | Encoding: Unicode

So should I, of the choices offered, use Unicode or "Unicode big endian"?

Chuck

Posted: Sun Aug 05, 2012 7:21 am
by CWBillow
CWBillow wrote:
ak47wong wrote:You've asked this question before. Here's your answer again: http://forums.textpad.com/viewtopic.php?t=8825
Sorry 'bout that.

Thanks,
Chuck
I went back and re-read, and then I went and exported a [small] registry entry.

It imported fine just as exported. Then I opened it up in TextPad, and it defaulted to Unicode. It would not merge into the registry.

Then I took the exported entry and resaved it as Unicode BE, but got the same error.

So what the heck am I doing wrong here? Wait...

Then I saved the original as UTF-8, and THAT merged.

So is THAT the encoding - UTF-8? I had though it was supposed to be Unicode?

Regards,
Chuck Billow

Posted: Sun Aug 05, 2012 7:35 am
by ak47wong
Ben Joseph's instructions seem quite unambiguous to me:
ben_josephs wrote:Select Configure | Preferences | Document Classes | <Class> | Write Unicode and UTF-8 BOM
or View | Document Properties | Preferences | Write Unicode and UTF-8 BOM
and use
File | Save As... | Encoding: Unicode
Did you follow both these steps?

Posted: Sun Aug 05, 2012 8:13 am
by CWBillow
ak47wong wrote:Ben Joseph's instructions seem quite unambiguous to me:
ben_josephs wrote:Select Configure | Preferences | Document Classes | <Class> | Write Unicode and UTF-8 BOM
or View | Document Properties | Preferences | Write Unicode and UTF-8 BOM
and use
File | Save As... | Encoding: Unicode
Did you follow both these steps?
Apologies...must have been having a senior moment. It worked fine this time.

hanks,
Chuck