all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hongxu Chen <leftcopy.chx@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Fail to send messages when the receiver's name containing non-ASCII characters
Date: Mon, 03 Jun 2013 08:57:16 +0800	[thread overview]
Message-ID: <871u8khuz7.fsf@gmail.com> (raw)


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 <mailadress@some.org>

   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-search-forward "[^-ÿ]" nil t)))

  It also WARNS that:

    NUL characters found, which may cause problems.  Continue sending? (d, r, s, e, ?): 

    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



             reply	other threads:[~2013-06-03  0:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-03  0:57 Hongxu Chen [this message]
     [not found] <mailman.903.1370221049.22516.help-gnu-emacs@gnu.org>
2013-06-04 17:38 ` Fail to send messages when the receiver's name containing non-ASCII characters Emanuel Berg
2013-06-05  1:03   ` Hongxu Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871u8khuz7.fsf@gmail.com \
    --to=leftcopy.chx@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.