Textpad does not work with .reg registry files

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
jms
Posts: 8
Joined: Wed May 13, 2009 8:26 am

Textpad does not work with .reg registry files

Post 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.
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post 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
.
jms
Posts: 8
Joined: Wed May 13, 2009 8:26 am

Post 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.
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

It may well be that it should. I wrote what is, not what ought to be. :-)
Post Reply