Saving as UTF-16/UCS-2 does not include the BOM character

Bug #611583 reported by kotarou3
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit
Fix Released
Low
gedit (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: gedit

Usually when saving a file as UTF-16 and UCS-2, a BOM character will be inserted at the start of the file. This does not happen in gedit.
The BOM would be 0xFFFE for LE and 0xFEFF for BE. Inserting the character is optional in UTF-16 but recommended. It is also required in UCS-2.

This is version 2.28.3

Revision history for this message
Pedro Villavicencio (pedro) wrote :

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.

Changed in gedit (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in gedit:
status: Unknown → New
Changed in gedit:
importance: Unknown → Low
Changed in gedit:
status: New → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream says the issue is fixed in the current version

Changed in gedit (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Paul White (paulw2u) wrote :

Upstream bug closed "RESOLVED FIXED" 2015-04-27
Checked ok Ubuntu 18.04 and gedit 3.28.1
Marking as "Fix Released" to close

Changed in gedit (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.