Comment 3 for bug 1176319

Revision history for this message
cg (chr1st0scli) wrote : Re: [Bug 1176319] Re: gedit automatically detected character encoding in open file dialog box

Hi,

I have filed a new bug as you instructed with id 699697.
https://bugzilla.gnome.org/show_bug.cgi?id=699697

Thank you.

On Sat, May 4, 2013 at 11:21 PM, Sebastien Bacher <email address hidden> wrote:

> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. The issue you are reporting is an upstream one and it
> would be nice if somebody having it could send the bug to the developers
> of the software by following the instructions at
> https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please
> tell us the number of the upstream bug (or the link), so we can add a
> bugwatch that will inform us about its status. Thanks in advance.
>
> ** Changed in: gedit (Ubuntu)
> Importance: Undecided => Low
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1176319
>
> Title:
> gedit automatically detected character encoding in open file dialog
> box
>
> Status in “gedit” package in Ubuntu:
> New
>
> Bug description:
> Hello,
>
> In gedit's open file dialog box, there is an option for choosing the
> character encoding. The default option is "Automatically Detected"
> which I am afraid it doesn't always work.
>
> I am attaching a file (gr.srt) with encoding (Greek) ISO-8859-7. I
> verified its encoding using the chardet utility in the terminal and I am
> also attaching chardet.png that shows exactly this. If you open this file
> (gr.srt) with gedit and encoding auto detection and you leave your mouse
> over the respective file's tab, a hint will appear reporting the Western
> ISO-8859-15 as the detected encoding. Of course as a result, the file's
> content is unreadable. (Attached geditWrong.png)
>
> If you open the same file by choosing (Greek) ISO-8859-7 in the open
> file dialog box, the respective hint properly shows the correct encoding
> and the file is readable. (Attached geditCorrect.png).
>
> Bear in mind that once you have opened the file with ISO-8859-7, it
> will always open correctly even if you choose "Automatically
> Detected". It seems that gedit remembers your option and doesn't
> actually try to detect the actual encoding. In order to reset to the
> initial problematic behavior, you have to manually select (Western)
> ISO-8859-15 once. It seems to me that it is very probable that this is
> another issue but yet related and it will also help you to not get
> confused in your tests.
>
> Finally, I would like to grab this opportunity and ask you to add an
> encoding choice in gedit's menu because in the open file dialog, it is
> quite "hidden" in the sense that most people open files by double
> clicking them. I even found this option on the net, it didn't even
> cross my mind that such an option would be available there. Also, I
> have found quite many frustration reports on the Internet from people
> who use non Latin alphabets, I have even found a bug report that was
> closed because the reporter unfortunately failed to provide the
> required evidence and instructions.
>
> Thank you very much.
>
> P.S
> Since I am only allowed to attach one file, note that all files I have
> mentioned are included in geditEncoding.tar.gz
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1176319/+subscriptions
>