From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13313 Path: news.gmane.org!not-for-mail From: haomiao Newsgroups: gmane.emacs.gnus.user Subject: charset problem of mailcap Date: Fri, 27 Nov 2009 19:26:42 -0800 (PST) Organization: http://groups.google.com Message-ID: <64757640-af5a-4938-ad0d-f559d8105ddd@u18g2000pro.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1259379734 2025 80.91.229.12 (28 Nov 2009 03:42:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Nov 2009 03:42:14 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Nov 28 04:42:08 2009 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NEECF-0006r3-Nn for gegu-info-gnus-english@m.gmane.org; Sat, 28 Nov 2009 04:42:07 +0100 Original-Received: from localhost ([127.0.0.1]:33923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NEECF-0002Pz-B4 for gegu-info-gnus-english@m.gmane.org; Fri, 27 Nov 2009 22:42:07 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!u18g2000pro.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 16 Original-NNTP-Posting-Host: 218.80.192.198 Original-X-Trace: posting.google.com 1259378803 27508 127.0.0.1 (28 Nov 2009 03:26:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 28 Nov 2009 03:26:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: u18g2000pro.googlegroups.com; posting-host=218.80.192.198; posting-account=qV1CZwkAAACmM57ReOR6SVOHfWkC7dh9 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729), gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.gnus:83695 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:13313 Archived-At: Hi I am using emacs23.1.1 in WinXp and I want to view the MIME part externally with ms word. So I edit the .mailcap like this application/msword;cmd /c WINWORD.EXE %s My coding charset is chinese-gb18030. When I open a mail attachment in gnus whose file name has Chinese character, winword report error, and the filename which passed to winword is chaos. But the temp file name in the Local Settings\Temp directory is correct. It seem that emacs or gnus give the command line with wrong encoding. How can I resolve this problem ?