Unicode suggestion on writing BOM
Posted: Tue Jun 01, 2004 4:50 pm
More and more Unicode is used nowadays, I think TextPad needs to enchance/improve in this direction.
1) When Textpad opens a file which has a BOM, IMO, it would be nice to keep it on writing it back, no matter what is chosen in preference.
When there's no BOM but TextPad manages to guess that the file is in Unicode, no BOM should be written back to file on saving, no matter what is chosen in preferences.
In other words, TextPad should keep the file's original information regarding BOM.
2) In the "Save as..." dialog, add an option called "Write BOM" next to Encoding field. Just like the Selection on option. This option should be greyed out when Encoding is neither UTF-8 nor Unicode.
Thanks
1) When Textpad opens a file which has a BOM, IMO, it would be nice to keep it on writing it back, no matter what is chosen in preference.
When there's no BOM but TextPad manages to guess that the file is in Unicode, no BOM should be written back to file on saving, no matter what is chosen in preferences.
In other words, TextPad should keep the file's original information regarding BOM.
2) In the "Save as..." dialog, add an option called "Write BOM" next to Encoding field. Just like the Selection on option. This option should be greyed out when Encoding is neither UTF-8 nor Unicode.
Thanks