Confirming, but looks like gedit is inserting that characters at the end of the file which might cause some issues as you described, there's an upstream bug for it here: https://bugzilla.gnome.org/show_bug.cgi?id=582603 ; thanks for reporting.
** Bug watch added: GNOME Bug Tracker #582603 https://bugzilla.gnome.org/show_bug.cgi?id=582603 ** Also affects: gedit via https://bugzilla.gnome.org/show_bug.cgi?id=582603 Importance: Unknown Status: Unknown ** Changed in: gedit (Ubuntu) Importance: Undecided => Low ** Changed in: gedit (Ubuntu) Status: New => Triaged -- Saving as UTF-16/UCS-2 does not include the BOM character https://bugs.launchpad.net/bugs/611583 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gedit in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs