Public bug reported:

The file is saved in utf-8 even though I select iso-8859-1 as encoding when 
saving.
Steps to reproduce:
1. Create a new file with non-ascii content, eg.: "çéè" (without quotes)
2. In the save dialog, select iso-8859-1 encoding
2. Check file size: it should be 3 bytes, but it is 7. Hexdump:
00000000  c3 a7 c3 a9 c3 a8 0a                              |.......|
00000007

For instance, c3 a7 is the utf-8 encoding of "ç". The iso-8859-1
encoding of this char is the single byte e7.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gnome-text-editor 45.1-1build1
ProcVersionSignature: Ubuntu 6.6.0-14.14-generic 6.6.3
Uname: Linux 6.6.0-14-generic x86_64
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
Date: Tue Jan 23 00:30:01 2024
InstallationDate: Installed on 2018-12-14 (1866 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
SourcePackage: gnome-text-editor
UpgradeStatus: Upgraded to noble on 2023-11-07 (76 days ago)

** Affects: gnome-text-editor (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

** Summary changed:

- Selected encoding not taken into account
+ Selected encoding not taken into account when saving

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-text-editor in Ubuntu.
https://bugs.launchpad.net/bugs/2050850

Title:
  Selected encoding not taken into account when saving

Status in gnome-text-editor package in Ubuntu:
  New

Bug description:
  The file is saved in utf-8 even though I select iso-8859-1 as encoding when 
saving.
  Steps to reproduce:
  1. Create a new file with non-ascii content, eg.: "çéè" (without quotes)
  2. In the save dialog, select iso-8859-1 encoding
  2. Check file size: it should be 3 bytes, but it is 7. Hexdump:
  00000000  c3 a7 c3 a9 c3 a8 0a                              |.......|
  00000007

  For instance, c3 a7 is the utf-8 encoding of "ç". The iso-8859-1
  encoding of this char is the single byte e7.

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: gnome-text-editor 45.1-1build1
  ProcVersionSignature: Ubuntu 6.6.0-14.14-generic 6.6.3
  Uname: Linux 6.6.0-14-generic x86_64
  ApportVersion: 2.27.0-0ubuntu6
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: GNOME
  Date: Tue Jan 23 00:30:01 2024
  InstallationDate: Installed on 2018-12-14 (1866 days ago)
  InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 
(20181017.3)
  SourcePackage: gnome-text-editor
  UpgradeStatus: Upgraded to noble on 2023-11-07 (76 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-text-editor/+bug/2050850/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to