Public bug reported:

Binary package hint: gedit

I am using Ubuntu Gutsy with XFCE4 Desktop Environment.

In gdm screen, I choose my default language English(US), and here is my `locale`
LANG=en_US.UTF-8
LC_CTYPE=zh_CN.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

When I open a Chinese text file with gedit, it cannot properly recognize
the GBK coding (or cp936, euc-cn coding), and I can only see broken
characters.  Also, Menu->Tools->Set Language... does not contain the
Chinese language options, leaving alone all English ones. However, under
Chinese(zh_CN.UTF-8, Chinese mainland) environment, gedit works OK, and
can display both GBK and UTF-8 correctly. By the way, GVIM works fine
when I set "set fileencodings=euc-cn,cp936,utf-8".

ProblemType: Bug
Architecture: i386
Date: Fri Feb  8 12:57:05 2008
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/gedit
NonfreeKernelModules: nvidia
Package: gedit 2.20.3-0ubuntu1
PackageArchitecture: i386
ProcCmdline: gedit intro.txt
ProcCwd: 
/home/li/Videos/[BiTUNiON][生化危机3:灭绝_Resident.Evil.Extinction_2007][DVDRip-Rmvb][英语]
ProcEnviron:
 SHELL=/bin/bash
 
PATH=/home/s/hspice_vy0609/hspice/linux:/home/s/CosmosScope/ai_bin:/usr/local/texlive/2007/bin/i386-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/s/ic5141/tools/bin:/home/s/ic5141/tools/dfII/bin:/home/s/ic5141/tools/dracula/bin:/home/s/assura314/tools/bin:/home/s/assura314/tools/assura/bin:/home/s/assura314/tools/dfII/bin
 LANG=en_US.UTF-8
 LC_CTYPE=zh_CN.UTF-8
SourcePackage: gedit
Uname: Linux ltp 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686 
GNU/Linux

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug

-- 
gedit could not display Chinese characters properly under en_US.UTF-8 
environment
https://bugs.launchpad.net/bugs/190111
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug contact for gedit in ubuntu.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to