gedit can't open gb18030 encoding file correctly

openSUSE 11.2
Simple Chinese is supported as second language. the primary language is English.

But I can’t open Chinese file using gedit. it only support English?

how can I solve this issue? the Chinese file is GB18030 encoding.

http://pic.yupoo.com/hoohoobjj/2022993bbf54/29jxxhuw.png

i hate to say this but i guess you probably have to find a Chinese
user who has solved the problem you are having…maybe help is
available from a local Linux User Group, try
http://www.linux.org/groups/china.html

WAIT, a google on
Chinese gedit GB18030 bug
<http://www.google.com/search?q=Chinese+gedit+GB18030+bug>
turns up almost 15,000 hits…i suggest you read several to see if
your problem is a known issue, and probably being worked on…

but, since gedit is a pretty plain and simple text editor (and there
are about a million of those) why not try another… just looked (Menu
> Utilities > Editors) and see i have Kate, Mousepad, Emacs, Scribes
installed…you may have those and others also…

as a work around you might try using YaST to load the basics of KDE
and then try using KWrite

or pick other from here to try:
http://en.wikipedia.org/wiki/List_of_text_editors

when you see one that sounds like what you want just pop open YaST and
search for it by name, maybe it is in a repo…


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

ok, Thanks for your advice.:slight_smile:

I tried such chinese file on Redhat Enterprise Linux 5.3.
I can open the chinese file using gedit correctly.

seems this issue not gedit’s problem?
only repro on openSUSE?

http://pic.yupoo.com/hoohoobjj/1609693fac30/oh05v2l5.png

maybe you should log a bug?, see
http://en.opensuse.org/Submitting_Bug_Reports


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

Ubuntu 9.04 gedit打开txt文件乱码_widebright的个人空间