Bug#365886: epiphany-browser: Cannot display contents correctly with GBK encoding

Hongzheng Wang wanghz at gmail.com
Wed May 3 15:26:49 UTC 2006


Hi,

Any web pages encoded in simplified chinese are OK.  That is, the
charset in the html source is "gb2312", "gbk" or "gb18030".  For
example,
http://news.tsinghua.edu.cn/new/
These pages can be decoded correctly with GB2312 (maybe partly if
there are some chinese characters out of the scope of GB2312) and
GB18030, but displays incorrectly with GBK.

In fact, I also tested plain text files.  I composed a text file with
GB2312, and open it with epiphany.  Only gb2312 and gb18030 can
display the contents properly.

On 5/3/06, Mike Hommey <mh at glandium.org> wrote:
> On Wed, May 03, 2006 at 10:44:49PM +0800, Hongzheng Wang <wanghz at gmail.com> wrote:
> > Subject: epiphany-browser: Cannot display contents correctly with GBK
> > encoding
> > Package: epiphany-browser
> > Version: 2.14.1-1
> > Severity: normal
> >
> > Hello,
> >
> > Although not standardized as national standard, Chinese Simplified
> > (GBK) is widely used in simplified chinese area, such as mainland of
> > China.  Due to the fact that, the former national standard of China
> > GB2312 has only about six thousand chinese characters, many web pages
> > have to be decoded with GBK encoding, otherwise some chinese
> > characters will be displayed as black diamonds.  In fact, GB2312 is a
> > subset of GBK, and both of these encodings are compatible with ASCII.
> >
> > But I find the current version of epiphany-browser cannot support GBK
> > correctly.  Even a web page encoded totally with GB2312 cannot be
> > displayed correctly with GBK.  I also tested GB18030 encoding, which
> > is the current national standard of China and is a superset of GB2312
> > and GBK.  The text encoding of GB18030 works properly.
> >
> > So, let me conclude.  A web page encoded with GB2312 can be decoded
> > correctly with both GB2312 and GB18030; a web page with GB18030 can
> > only be decoded correctly partly with GB2312 if there are some chinese
> > characters out of the scope of GB2312.  But all these pages can not be
> > decoded with GBK.
>
> Could you give examples of such webpages ? (i.e urls)
>
> Mike
>


--
Hongzheng Wang





More information about the Pkg-gnome-maintainers mailing list