Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Cannot display Chinese characters
@ 2005-07-15 10:38 Xiao-Yong Jin
  2005-07-15 12:32 ` Steven Woody
  0 siblings, 1 reply; 5+ messages in thread
From: Xiao-Yong Jin @ 2005-07-15 10:38 UTC (permalink / raw)


Hi, all,

Following is my test mail.  Does anybody know how to configure gnus to
properly display Chinese characters in this mail.

------ Test Mail Starts ------
X-From-Line: king  Fri Jul 15 15:51:28 2005
Received: from pop.gmail.com
        by localhost with POP3 (fetchmail-6.2.5)
        for king@localhost (single-drop); Fri, 15 Jul 2005 15:51:28 +0800 (CST)
X-Gmail-Received: 81cf87b299568390aa705bab0064ff5d942e0c02
Delivered-To: ACCOUNT@gmail.com
Received: by 10.54.44.19 with SMTP id r19cs20596wrr;
        Fri, 15 Jul 2005 00:36:35 -0700 (PDT)
Received: by 10.54.106.13 with SMTP id e13mr1032788wrc;
        Fri, 15 Jul 2005 00:36:35 -0700 (PDT)
Return-Path: <ACCOUNT@163.com>
Received: from 163.com ([220.181.13.31])
        by mx.gmail.com with SMTP id 38si2711610wrl.2005.07.15.00.36.32;
        Fri, 15 Jul 2005 00:36:35 -0700 (PDT)
Received-SPF: neutral (gmail.com: 220.181.13.31 is neither permitted nor denied by domain of ACCOUNT@163.com)
MIME-Version: 1.0
X-Gnus-Mail-Source: directory:/home/king/.Spool/
Message-ID: <42D76787.00000F.01113@m219.163.com>
Date: Fri, 15 Jul 2005 15:36:39 +0800 (CST)
From: "=?gb2312?B?VG9vdGlueQ==?=" <tootiny@163.com>
To: jinxiaoyong@gmail.com
Subject: =?gb2312?B?1tDOxLLiytQ=?=
X-Priority: 3
X-Originating-IP: [192.168.208.155]
X-Mailer: <!-- CoreMail Version 2.5 Copyright (c) 2002-2003 www.tebie.com --> 163com
Content-Type: Multipart/Alternative; boundary="Boundary-=_tMptLJwQIKWmQcNjMhmCTJeyCPky"
Xref: tux.edennetwork cn.mail.163:1
Lines: 21


--Boundary-=_tMptLJwQIKWmQcNjMhmCTJeyCPky
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64

ytTSu8/CMTYztcR3ZWK3orXE08q8/rXEZW5jb2Rpbmc=
--Boundary-=_tMptLJwQIKWmQcNjMhmCTJeyCPky
Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: base64

ytTSu8/CMTYztcR3ZWK3orXE08q8/rXEZW5jb2Rpbmc8YnI+PCEtLSBmb290ZXIgLS0+PGJy
Pjxicj48YnI+DQo8Zm9udCBzdHlsZT0iZm9udC1zaXplOjE0LjhweCI+DQo8IS0tueO45mZv
b3RlciC/qsq8LS0+DQo8IS0tueO45mZvb3RlciC94cr4LS0+DQoNCjwhLS3E2rK/Zm9vdGVy
v6rKvC0tPg0KPGJyPg0KPGJyPjxwIHN0eWxlPSJsaW5lLWhlaWdodDoxNjAlOyI+DQo8YSBo
cmVmPSJodHRwOi8vbWFpbC4xNjMuY29tIiB0YXJnZXQ9Il9ibGFuayI+DQo8Zm9udCBjb2xv
cj1ibHVlPtDo0qrSu7j2PHNwYW4gc3R5bGU9ImNvbG9yOnJlZCI+MjAwMNXXtcTD4rfRPC9z
cGFuPtPKz+TC8KO/PGJyPs340tfD4rfR08rP5MrHPHNwYW4gc3R5bGU9ImNvbG9yOnJlZCI+
1tC5+tfutuDIy8q508M8L3NwYW4+tcS159fT08rP5KGjPC9hPg0KPC9wPg0KPCEtLcTasr9m
b290ZXK94cr4LS0+DQo8L2ZvbnQ+
--Boundary-=_tMptLJwQIKWmQcNjMhmCTJeyCPky--
------ Test Mail Ends ------

My locale is
$ locale
LANG=en_US
LC_CTYPE=zh_CN.UTF-8
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=

My current ~/.gnus contains nothing related to charset or encoding
specifically.  If you want more information, please let me know.

Thank you.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cannot display Chinese characters
  2005-07-15 10:38 Cannot display Chinese characters Xiao-Yong Jin
@ 2005-07-15 12:32 ` Steven Woody
  2005-07-16  4:08   ` Xiao-Yong Jin
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Woody @ 2005-07-15 12:32 UTC (permalink / raw)


Xiao-Yong Jin <xj2106@columbia.edu> writes:

> Hi, all,
>
> Following is my test mail.  Does anybody know how to configure gnus to
> properly display Chinese characters in this mail.
>
> ------ Test Mail Starts ------
> X-From-Line: king  Fri Jul 15 15:51:28 2005
> Received: from pop.gmail.com
>         by localhost with POP3 (fetchmail-6.2.5)
>         for king@localhost (single-drop); Fri, 15 Jul 2005 15:51:28 +0800 (CST)
> X-Gmail-Received: 81cf87b299568390aa705bab0064ff5d942e0c02
> Delivered-To: ACCOUNT@gmail.com
> Received: by 10.54.44.19 with SMTP id r19cs20596wrr;
>         Fri, 15 Jul 2005 00:36:35 -0700 (PDT)
> Received: by 10.54.106.13 with SMTP id e13mr1032788wrc;
>         Fri, 15 Jul 2005 00:36:35 -0700 (PDT)
> Return-Path: <ACCOUNT@163.com>
> Received: from 163.com ([220.181.13.31])
>         by mx.gmail.com with SMTP id 38si2711610wrl.2005.07.15.00.36.32;
>         Fri, 15 Jul 2005 00:36:35 -0700 (PDT)
> Received-SPF: neutral (gmail.com: 220.181.13.31 is neither permitted nor denied by domain of ACCOUNT@163.com)
> MIME-Version: 1.0
> X-Gnus-Mail-Source: directory:/home/king/.Spool/
> Message-ID: <42D76787.00000F.01113@m219.163.com>
> Date: Fri, 15 Jul 2005 15:36:39 +0800 (CST)
> From: "=?gb2312?B?VG9vdGlueQ==?=" <tootiny@163.com>
> To: jinxiaoyong@gmail.com
> Subject: =?gb2312?B?1tDOxLLiytQ=?=
> X-Priority: 3
> X-Originating-IP: [192.168.208.155]
> X-Mailer: <!-- CoreMail Version 2.5 Copyright (c) 2002-2003 www.tebie.com --> 163com
> Content-Type: Multipart/Alternative; boundary="Boundary-=_tMptLJwQIKWmQcNjMhmCTJeyCPky"
> Xref: tux.edennetwork cn.mail.163:1
> Lines: 21
>
>
> --Boundary-=_tMptLJwQIKWmQcNjMhmCTJeyCPky
> Content-Type: text/plain; charset="gb2312"
> Content-Transfer-Encoding: base64
>
> ytTSu8/CMTYztcR3ZWK3orXE08q8/rXEZW5jb2Rpbmc=
> --Boundary-=_tMptLJwQIKWmQcNjMhmCTJeyCPky
> Content-Type: text/html; charset="gb2312"
> Content-Transfer-Encoding: base64
>
> ytTSu8/CMTYztcR3ZWK3orXE08q8/rXEZW5jb2Rpbmc8YnI+PCEtLSBmb290ZXIgLS0+PGJy
> Pjxicj48YnI+DQo8Zm9udCBzdHlsZT0iZm9udC1zaXplOjE0LjhweCI+DQo8IS0tueO45mZv
> b3RlciC/qsq8LS0+DQo8IS0tueO45mZvb3RlciC94cr4LS0+DQoNCjwhLS3E2rK/Zm9vdGVy
> v6rKvC0tPg0KPGJyPg0KPGJyPjxwIHN0eWxlPSJsaW5lLWhlaWdodDoxNjAlOyI+DQo8YSBo
> cmVmPSJodHRwOi8vbWFpbC4xNjMuY29tIiB0YXJnZXQ9Il9ibGFuayI+DQo8Zm9udCBjb2xv
> cj1ibHVlPtDo0qrSu7j2PHNwYW4gc3R5bGU9ImNvbG9yOnJlZCI+MjAwMNXXtcTD4rfRPC9z
> cGFuPtPKz+TC8KO/PGJyPs340tfD4rfR08rP5MrHPHNwYW4gc3R5bGU9ImNvbG9yOnJlZCI+
> 1tC5+tfutuDIy8q508M8L3NwYW4+tcS159fT08rP5KGjPC9hPg0KPC9wPg0KPCEtLcTasr9m
> b290ZXK94cr4LS0+DQo8L2ZvbnQ+
> --Boundary-=_tMptLJwQIKWmQcNjMhmCTJeyCPky--
> ------ Test Mail Ends ------
>
> My locale is
> $ locale
> LANG=en_US
> LC_CTYPE=zh_CN.UTF-8
> LC_NUMERIC="en_US"
> LC_TIME="en_US"
> LC_COLLATE="en_US"
> LC_MONETARY="en_US"
> LC_MESSAGES="en_US"
> LC_PAPER="en_US"
> LC_NAME="en_US"
> LC_ADDRESS="en_US"
> LC_TELEPHONE="en_US"
> LC_MEASUREMENT="en_US"
> LC_IDENTIFICATION="en_US"
> LC_ALL=
>
> My current ~/.gnus contains nothing related to charset or encoding
> specifically.  If you want more information, please let me know.
>
> Thank you.

the MIME message seems normal, i do not know why it was not correct interpreted
on your system.  for your information, i paste my locale, which is a little
different with yours,

LANG=zh_CN.gbk
LC_CTYPE=zh_CN.gbk
LC_NUMERIC=zh_CN.gbk
LC_TIME=en_US
LC_COLLATE=C
LC_MONETARY=en_US
LC_MESSAGES=en_US
LC_PAPER=zh_CN.gbk
LC_NAME=zh_CN.gbk
LC_ADDRESS=zh_CN.gbk
LC_TELEPHONE=zh_CN.gbk
LC_MEASUREMENT=zh_CN.gbk
LC_IDENTIFICATION=zh_CN.gbk
LC_ALL=


wha't is your lang environment settings?

-
narke


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cannot display Chinese characters
  2005-07-15 12:32 ` Steven Woody
@ 2005-07-16  4:08   ` Xiao-Yong Jin
  2005-07-16  6:01     ` Steven Woody
  0 siblings, 1 reply; 5+ messages in thread
From: Xiao-Yong Jin @ 2005-07-16  4:08 UTC (permalink / raw)


Steven Woody <anti-spam.narkewoody@gmail.com.dont-post-to> writes:

> the MIME message seems normal, i do not know why it was not correct interpreted
> on your system.  for your information, i paste my locale, which is a little
> different with yours,
>
> LANG=zh_CN.gbk
> LC_CTYPE=zh_CN.gbk
> LC_NUMERIC=zh_CN.gbk
> LC_TIME=en_US
> LC_COLLATE=C
> LC_MONETARY=en_US
> LC_MESSAGES=en_US
> LC_PAPER=zh_CN.gbk
> LC_NAME=zh_CN.gbk
> LC_ADDRESS=zh_CN.gbk
> LC_TELEPHONE=zh_CN.gbk
> LC_MEASUREMENT=zh_CN.gbk
> LC_IDENTIFICATION=zh_CN.gbk
> LC_ALL=
>
>
> wha't is your lang environment settings?
>
> -
> narke

I don't really think locale is the point.  My settings is
export LANG=en_US
export LC_CTYPE=zh_CN.UTF-8

Well, I start to think whether it is a problem of MIME interpretation
for text/html.  After I install w3m and emacs-w3m cvs version as
someone suggested, it can be displayed normally.  What's happened?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cannot display Chinese characters
  2005-07-16  4:08   ` Xiao-Yong Jin
@ 2005-07-16  6:01     ` Steven Woody
  2005-07-16 15:08       ` Xiao-Yong Jin
  0 siblings, 1 reply; 5+ messages in thread
From: Steven Woody @ 2005-07-16  6:01 UTC (permalink / raw)


Xiao-Yong Jin <xj2106@columbia.edu> writes:

> Steven Woody <anti-spam.narkewoody@gmail.com.dont-post-to> writes:
>
>> the MIME message seems normal, i do not know why it was not correct interpreted
>> on your system.  for your information, i paste my locale, which is a little
>> different with yours,
>>
>> LANG=zh_CN.gbk
>> LC_CTYPE=zh_CN.gbk
>> LC_NUMERIC=zh_CN.gbk
>> LC_TIME=en_US
>> LC_COLLATE=C
>> LC_MONETARY=en_US
>> LC_MESSAGES=en_US
>> LC_PAPER=zh_CN.gbk
>> LC_NAME=zh_CN.gbk
>> LC_ADDRESS=zh_CN.gbk
>> LC_TELEPHONE=zh_CN.gbk
>> LC_MEASUREMENT=zh_CN.gbk
>> LC_IDENTIFICATION=zh_CN.gbk
>> LC_ALL=
>>
>>
>> wha't is your lang environment settings?
>>
>> -
>> narke
>
> I don't really think locale is the point.  My settings is
> export LANG=en_US
> export LC_CTYPE=zh_CN.UTF-8
>
> Well, I start to think whether it is a problem of MIME interpretation
> for text/html.  After I install w3m and emacs-w3m cvs version as
> someone suggested, it can be displayed normally.  What's happened?

if you come to your another mail account and send a plain text Chinese message
back to yourself, i believe, it must can be display normally even without w3m.

the mail in trouble must be composed in html. the default render for emacs is
link or lynx, they do not recognize Chinese. that's the reason.

-
narke


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cannot display Chinese characters
  2005-07-16  6:01     ` Steven Woody
@ 2005-07-16 15:08       ` Xiao-Yong Jin
  0 siblings, 0 replies; 5+ messages in thread
From: Xiao-Yong Jin @ 2005-07-16 15:08 UTC (permalink / raw)



Steven Woody <anti-spam.narkewoody@gmail.com.dont-post-to> writes:

> if you come to your another mail account and send a plain text Chinese message
> back to yourself, i believe, it must can be display normally even without w3m.

Yes, you're right.  Emacs handles it correctly.

>
> the mail in trouble must be composed in html. the default render for emacs is
> link or lynx, they do not recognize Chinese. that's the reason.
>

Perhaps it's the problem.  I have lynx installed and maybe emacs uses
lynx to render html by default.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-07-16 15:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-15 10:38 Cannot display Chinese characters Xiao-Yong Jin
2005-07-15 12:32 ` Steven Woody
2005-07-16  4:08   ` Xiao-Yong Jin
2005-07-16  6:01     ` Steven Woody
2005-07-16 15:08       ` Xiao-Yong Jin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).