From: Simon Josefsson <jas@extundo.com>
Subject: Re: sieve: NO "Expected EOL"
Date: Tue, 25 May 2004 16:24:59 +0200 [thread overview]
Message-ID: <iluekp84m9w.fsf@latte.josefsson.org> (raw)
In-Reply-To: <9en03w38of.fsf@fhi-berlin.mpg.de>
Jochen Küpper <jochen@fhi-berlin.mpg.de> writes:
> On Tue, 25 May 2004 14:00:11 +0200 Simon Josefsson wrote:
>
> Simon> Can you reproduce this using a smaller script, and post the entire
> Simon> log?
>
> Attached.
>
> Seems to be a coding-system problem. In the manage-sieve log I see
> \201 characters that where somehow hidden in my local sieve-script
> buffer. I changed the script to ASCII-only and everything works fine.
> (I'm happy with that solution, but can do some more testing (with
> guidelines;) if it helps to enhance manage-sieve or emacs.)
Ah. Hm. Sieve scripts are UTF-8, so perhaps the emacs-sieve stuff
should do some conversion. Does the following patch do anything
useful?
Index: sieve-manage.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/sieve-manage.el,v
retrieving revision 7.5
diff -u -p -u -w -r7.5 sieve-manage.el
--- sieve-manage.el 20 May 2004 08:02:41 -0000 7.5
+++ sieve-manage.el 25 May 2004 14:24:33 -0000
@@ -160,8 +160,8 @@ for doing the actual authentication.")
sieve-manage-server-eol
sieve-manage-capability))
(defconst sieve-manage-default-stream 'network)
-(defconst sieve-manage-coding-system-for-read 'binary)
-(defconst sieve-manage-coding-system-for-write 'binary)
+(defconst sieve-manage-coding-system-for-read 'utf-8)
+(defconst sieve-manage-coding-system-for-write 'utf-8)
(defvar sieve-manage-stream nil)
(defvar sieve-manage-auth nil)
(defvar sieve-manage-server nil)
next prev parent reply other threads:[~2004-05-25 14:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-25 11:26 Jochen Küpper
2004-05-25 12:00 ` Simon Josefsson
[not found] ` <iluzn7w4sz8.fsf-Hx3HMpEclzRikQyLtWShHUB+6BGkLq7r@public.gmane.org>
2004-05-25 14:04 ` Jochen Küpper
2004-05-25 14:24 ` Simon Josefsson [this message]
[not found] ` <iluekp84m9w.fsf-Hx3HMpEclzRikQyLtWShHUB+6BGkLq7r@public.gmane.org>
2004-05-27 12:11 ` Jochen Küpper
2004-05-27 13:17 ` Simon Josefsson
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=iluekp84m9w.fsf@latte.josefsson.org \
--to=jas@extundo.com \
/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.
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).