Page 1 of 1

Textpad does not work with .reg registry files

Posted: Mon Mar 12, 2012 4:00 pm
by jms
Registry files are in unicode and contain a x'FFFE' as the first 2 bytes.
Editing a .reg file and saving it with textpad removes that x'FFFE' prefix.
It is not possible to import that saved file into the registry.

Posted: Mon Mar 12, 2012 4:39 pm
by ben_josephs
Select
Configure | Preferences | Document Classes | <Class> | Write Unicode and UTF-8 BOM
or
View | Document Properties | Preferences | Write Unicode and UTF-8 BOM
.

Posted: Mon Mar 12, 2012 5:14 pm
by jms
Thank you for that useful information!

Maybe this should be default for registry files.
Or textpad should write back the BOM if it reads it in.

Posted: Mon Mar 12, 2012 6:03 pm
by ben_josephs
It may well be that it should. I wrote what is, not what ought to be. :-)