From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hongxu Chen Newsgroups: gmane.emacs.help Subject: Fail to send messages when the receiver's name containing non-ASCII characters Date: Mon, 03 Jun 2013 08:57:16 +0800 Message-ID: <871u8khuz7.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1370221060 30575 80.91.229.3 (3 Jun 2013 00:57:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2013 00:57:40 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 03 02:57:37 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UjJ5d-0005o8-Kz for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Jun 2013 02:57:37 +0200 Original-Received: from localhost ([::1]:35337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjJ5d-00023w-CJ for geh-help-gnu-emacs@m.gmane.org; Sun, 02 Jun 2013 20:57:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjJ5R-00023g-Ry for help-gnu-emacs@gnu.org; Sun, 02 Jun 2013 20:57:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjJ5P-00074X-CX for help-gnu-emacs@gnu.org; Sun, 02 Jun 2013 20:57:25 -0400 Original-Received: from mail-pb0-x22f.google.com ([2607:f8b0:400e:c01::22f]:52409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjJ5P-00074R-4z for help-gnu-emacs@gnu.org; Sun, 02 Jun 2013 20:57:23 -0400 Original-Received: by mail-pb0-f47.google.com with SMTP id rr4so4902506pbb.20 for ; Sun, 02 Jun 2013 17:57:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=vB2rLeGILrWu+zj0nmgz/ELH2RRyV79Ay7xxnlWuByg=; b=JC7h587Hd1wNNJ6glkc5DqqQQ30xrXMaBlYIkvxtPuji0oxRcbXw3JTFyvp3iLZTAd zLmuMAeVsMxAjkKtV+UYP5xGxelpZjUe9uUBs4JndkZDT4u929T23TmJgeW7YnYx7WTS YX8iL9z5IvF8RlxaNIx/Mbmtm0Oas8RrEAvxEfCjvd6U6qMfn0pbDTgr5XAGBFT1c6Aw 4PwF3NbZN6z9QRE8/d4/QtXLNp/cd22R7QLKUtiLgpjYEpsIH9obquWGApWAgT3Wx+6E 5SR1kxwyJiaN9CqKa0EFnbWVk2A9SbWLQNxzHqfT7AYDs8jQsEv+1P7r8fVziBWlXcG5 hcng== X-Received: by 10.68.225.197 with SMTP id rm5mr22069780pbc.137.1370221041575; Sun, 02 Jun 2013 17:57:21 -0700 (PDT) Original-Received: from hongxuchen-VM.STAP ([207.46.92.17]) by mx.google.com with ESMTPSA id vb8sm56630541pbc.11.2013.06.02.17.57.19 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 02 Jun 2013 17:57:20 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::22f X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91244 Archived-At: Dear all, I am having problems to send messages when the receiver's mail containing non-ascii characters. It's not about the address itself, but the display name ahead. For instance: DISPLAY The `DISPLAY' can be unicode characters other than characters whose value is between 0 and 255, but when sending such messages, emacs would complain messages like this: Assertion failed: (save-excursion (goto-char (point-min)) (not (re-sea= rch-forward "[^-=C3=BF]" nil t))) It also WARNS that: NUL characters found, which may cause problems. Continue sending? (d, = r, s, e, ?):=20 when the non-ascii character is contained in the mail content(just like THIS MAIL). And here is my settings for sending messages(just for the reference, although I think they have nothing to do with the issue): (setq gnus-message-archive-group "nnmaildir+mymailbox:sent") (setq message-send-mail-function 'smtpmail-send-it smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil)) smtpmail-auth-credentials '(("smtp.gmail.com" 587 "leftcopy.chx@gmail= .com" nil)) smtpmail-default-smtp-server "smtp.gmail.com" smtpmail-smtp-server "smtp.gmail.com" smtpmail-smtp-service 587 smtpmail-local-domain "STAP") Has anyone else ever encountered similar problems? Thanks, Hongxu Chen