How to make UltraEdit save in UTF-8 without the byte order mark (BOM)?

This related post tells me that UltraEdit adds the byte order mark when UTF-8-encoding files.

How can I make UltraEdit convert a file into UTF-8 without adding the byte order mark?


Solution 1:

The Ultraedit website says -

If you'd like to globally configure UltraEdit to save all UTF-8 files with BOMs, you can set this by going to Advanced -> Configuration -> File Handling -> Save. The first two options here, "Write UTF-8 BOM header to all UTF-8 files when saved" and "Write UTF-8 BOM on new files created within this program (if above is not set)" should be checked. Conversely, if you do NOT want the BOMs, make sure these are NOT checked.

Source

Solution 2:

If you have a file that already has a BOM in it and need to save it without the BOM, then choose File -> Save As and in the Format drop-down box, choose UTF-8 - NO BOM.

This will remain the default 'save' format for all other files as long as your version of UltraEdit is greater than v17.10.0.1015 (there was a bug in UltraEdit prior to this where the 'save as' format was not remembered).