Red Hat Bugzilla – Bug 72742
gedit bugs (when write a Chinese document )
Last modified: 2008-05-01 11:38:03 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Description of problem:
There are some problems to use another editor (vim, Kword etc.) to read the
documents that edited by "gedit".
We think the Character coding of Chinese (Big5) that "gedit" use might not be
compatible with other editors.
The situation is:
We use "gedit" to write a Chinese document and the content is "d8-f?f8,h)&".
If we use vim to read it, everything we edit with "gedit" will be wrong like "?
e??g?e2?#034;. Even we use the "more" instruction, the content still could
not be shown correct.
And the same situation happened when we edit an exited Chinese documents
with "gedit". Every words will be unreadable.
It is very inconvenience to edit a Chinese document. Because "geidt" is the
only choice to read the Chinese document edited by "gedit".
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Execute gedit editor to write a Chinese document
2.If we use vim to read it, everything we edit with "gedit" will be wrong.
Even we use the "more" instruction, the content still could not be shown
gedit is probably saving files in UTF-8. try running the files through
"iconf --from-code UTF-8 filename.txt" and if that fixes it this is the problem.
http://bugzilla.gnome.org/show_bug.cgi?id=85992 tracks this issue.