! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Mousepad does a wrong charracter encoding recognition
Status:
RESOLVED: FIXED
Product:
Mousepad
Component:
General

Comments

Description Friedrich Graeter 2007-03-31 01:27:32 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.8.1.2) Gecko/20070328 Firefox/2.0.0.2
Build Identifier: 

When opening a file using the list of last opened files in the File-menu with an unusual or non-detectable encoding (like ASCII) and opening another file over this menu with another encoding (like UTF-8), Mousepad seems to make a wrong encoding recognition. It seems that the charrecter encoding stays in the old format (in this example: ASCII).

This bug doesn't occur if you open a file with the Open dialog.

Reproducible: Always

Steps to Reproduce:
1. Open an ASCII file using the list of last opened files
2. Open an UTF-8 file using the list of last opened files


Actual Results:  
The encoding stays on ASCII.
Comment 1 Andre Miranda editbugs 2013-10-14 05:08:37 CEST
I can't reproduce as you described.
I created the file 'test.txt' with the content 'teste andré' and saved as ASCII(Using Notepad++).
Then I created another file 'test2.txt' and pasted some hiragana text as UTF-8 without BOM.
Using the recently opened shortcut, Mousepad opens the both file correctly, no matter in which order.
But if I double click the 'test.txt' file from Thunar, Mousepad can't recognize that the file is encoded as ASCII, it only opens if I select ISO-8859-1 or WINDOWS-1252 encoding.
Matt, should we close this bug and open another one?
Comment 2 Matthew Brush editbugs 2013-10-26 04:53:16 CEST
Yeah, definitively open a new bug report against new version for any issues.

Closing as fixed since it can't be reproduced with lastest version, which is a total re-write of version this bug is about, and which is no longer maintained or supported. Please feel free to re-open and update the version on this bug or make a new report if you experience it still in latest version.

Bug #3084

Reported by:
Friedrich Graeter
Reported on: 2007-03-31
Last modified on: 2013-10-26

People

Assignee:
Matthew Brush
CC List:
3 users

Version

Version:
Unspecified
Target Milestone:
Mousepad 0.2.x

Attachments

Additional information