GNOME Bugzilla – Bug 647935
Autodetect file encoding
Last modified: 2012-08-03 08:42:19 UTC
Gedit suxx as a default viewer on Ubuntu, because it fails to detect proper encoding of text files. The autodetection code can be found in any open source browser.
*** Bug 669448 has been marked as a duplicate of this bug. ***
Please provide a testcase (as it works in many cases), and please provide a link to "autodetection code can be found in any open source browser."
https://raw.github.com/maxiaojun/gedit3-encoding-helper/master/test_gbk.txt Try it with Gedit and Kate, you should notice the difference.
Please provide your language, and please check if the encoding list is correct as this might be a language which can be found in the open dialog.
Check Bug 669448 for more information. We've done some discussions previously. I mark my own bug as duplicate because this one is reported earlier. This bug is about AUTO detection. Normal users do not know what is encoding. The ability to select encoding before or after opening text documents won't fix this bug.
So again as you say in the previous bug the list is: ['UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16'] This list is set by the chinese translator. I do not know which one is the correct so we rely in the translators. Please contact your translator to comment on this bug and try to fix the translation.
I haven't found such string in: http://l10n.gnome.org/POT/gedit.master/gedit.master.zh_CN.po
So there it is the bug. For some reason that string is not detected to be translated. André any idea about this? http://git.gnome.org/browse/gedit/tree/data/org.gnome.gedit.gschema.xml.in.in#n224
I just fixed this problem: http://git.gnome.org/browse/gedit/commit/?id=9ed68c4ec0f8ad869f2a28c5fd175caaf312daaf Please poke your translator so they translate the encodings for your specific language correctly.