Thomas?  Nano does not add a BOM to any file.  If you want to know
whether any file contains a BOM, you can start nano with the +1 cursor-
positioning directive (like so: nano +1 thefilename) and then type
<Backspace>.  If the upper right corner then says "Modified", an
invisible character (most likely a BOM) was deleted before the first
visible one.  If so, type ^S and ^X and you're done.  If "Modified" does
not appear, there is no BOM, and you can simply type ^X to exit.

To summarize: to make sure a file does not contain a Byte Order Mark,
run 'nano +1' followed by the filename, and type: <Backspace> ^S ^X.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1045062

Title:
  No option to save without BOM (Byte Order Mark)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1045062/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to