GNOME Bugzilla – Bug 728181
Encoding auto-detection problem when the file contains Null characters
Last modified: 2018-05-26 14:04:12 UTC
Created attachment 274271 [details] Textfile with Null characters. This seems to be poor idea to enter Null characters into supposedly text file, but GEdit should display something more useful then bunch of Chinese characters. $ rpm -q gedit gedit-3.10.3-1.fc20.x86_64 BTW I reported the error to the authors of RubyGems: https://github.com/rubygems/rubygems/issues/883
BTW you can use less or vim to display the content of the file, since gedit cannot handle it ;)
If you explicitly open the file in UTF-8, it works as expected. The problem is with the encoding auto-detection.
It's unlikely that this feature is ever going to be implemented, so I close the bug.