General questions about using TextPad
Moderators: AmigoJack , bbadmin , helios , Bob Hansen , MudGuard
jms
Posts: 8 Joined: Wed May 13, 2009 8:26 am
Post
by jms » Mon Mar 12, 2012 4:00 pm
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 » Mon Mar 12, 2012 4:39 pm
Select
C onfigure | P references | Document Classes | <Class> | Write Unicode and UTF-8 BOM
or
V iew | Document P roperties | Preferences | Write Unicode and UTF-8 BOM
.
jms
Posts: 8 Joined: Wed May 13, 2009 8:26 am
Post
by jms » Mon Mar 12, 2012 5:14 pm
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 » Mon Mar 12, 2012 6:03 pm
It may well be that it should. I wrote what is, not what ought to be.