Gedit misrecognises encoding on plain ASCII file

Bug #1780247 reported by David Venhoek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
New
Low
Unassigned

Bug Description

On opening the attached file, gedit recognises it incorrectly as some asian-specific encoding, even though the file is plain ASCII.

Ubuntu version:
Description: Ubuntu 16.04.4 LTS
Release: 16.04

Gedit package version:
gedit:
  Installed: 3.18.3-0ubuntu4
  Candidate: 3.18.3-0ubuntu4
  Version table:
 *** 3.18.3-0ubuntu4 500
        500 http://nl.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

Tags: xenial
Revision history for this message
David Venhoek (t-dav0d-a) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I can't seem to reproduce the problem on 16.04 here.

Can you provide a screenshot of what you see?

Changed in gedit (Ubuntu):
status: New → Incomplete
tags: added: xenial
Revision history for this message
David Venhoek (t-dav0d-a) wrote :

Attached an image showing the issue in action.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gedit (Ubuntu) because there has been no activity for 60 days.]

Changed in gedit (Ubuntu):
status: Incomplete → Expired
Changed in gedit (Ubuntu):
status: Expired → New
Revision history for this message
Wes (wesinator) wrote :

Looks fine for me in gedit 3.28.1 on Ubuntu 18.04

Are you sure the file wasn't overwritten with binary data by another program ?

Revision history for this message
Sebastien Bacher (seb128) wrote :

If you open it through the open menu item, what encoding is selected in the bottom left corner?

Changed in gedit (Ubuntu):
importance: Undecided → Low
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.