* Re: Encoding of messages
[not found] <fagmo3$m8p$02$1@news.t-online.com>
@ 2007-08-22 14:01 ` Ted Zlatanov
2007-08-22 14:28 ` Eric Böse-Wolf
0 siblings, 1 reply; 4+ messages in thread
From: Ted Zlatanov @ 2007-08-22 14:01 UTC (permalink / raw)
To: info-gnus-english
On Wed, 22 Aug 2007 08:56:58 +0200 eric.boese-wolf@t-online.de (Eric Böse-Wolf) wrote:
EB> Is there the possibility to tell gnus to convert all arriving mail
EB> messages into utf-8 and store them in utf-8? How to configure it?
Gnus does not convert messages for storage AFAIK. What are you trying
to accomplish?
Ted
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Encoding of messages
2007-08-22 14:01 ` Encoding of messages Ted Zlatanov
@ 2007-08-22 14:28 ` Eric Böse-Wolf
2007-08-27 15:16 ` Ted Zlatanov
[not found] ` <m2ir71xb1o.fsf@lifelogs.com>
0 siblings, 2 replies; 4+ messages in thread
From: Eric Böse-Wolf @ 2007-08-22 14:28 UTC (permalink / raw)
To: info-gnus-english
[-- Attachment #1.1: Type: text/plain, Size: 581 bytes --]
Ted Zlatanov <tzz@lifelogs.com> writes:
> Gnus does not convert messages for storage AFAIK. What are you trying
> to accomplish?
I use spam.el with spam-use-bogofilter (bogofilter configured with
unicode=yes and default_charset=utf-8) and I noticed correctly
displayed german umlauts and badly displayed german umlauts in my
bogoutil -d wordlist.db output. So I assumed bogofilter received
messages in different encodings and wanted to stop that to get
a nice and plain bogoutil -d wordlist.db output.
Sorry for bad english.
Yours sincerely,
Eric Böse-Wolf
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Encoding of messages
2007-08-22 14:28 ` Eric Böse-Wolf
@ 2007-08-27 15:16 ` Ted Zlatanov
[not found] ` <m2ir71xb1o.fsf@lifelogs.com>
1 sibling, 0 replies; 4+ messages in thread
From: Ted Zlatanov @ 2007-08-27 15:16 UTC (permalink / raw)
To: info-gnus-english; +Cc: Ding Mailing List
On Wed, 22 Aug 2007 16:28:38 +0200 eric.boese-wolf@t-online.de (Eric Böse-Wolf) wrote:
EB> Ted Zlatanov <tzz@lifelogs.com> writes:
>> Gnus does not convert messages for storage AFAIK. What are you trying
>> to accomplish?
EB> I use spam.el with spam-use-bogofilter (bogofilter configured with
EB> unicode=yes and default_charset=utf-8) and I noticed correctly
EB> displayed german umlauts and badly displayed german umlauts in my
EB> bogoutil -d wordlist.db output. So I assumed bogofilter received
EB> messages in different encodings and wanted to stop that to get
EB> a nice and plain bogoutil -d wordlist.db output.
(I maintain spam.el)
The function that gets the article as a string is
(defun spam-get-article-as-string (article)
(when (numberp article)
(with-temp-buffer
(gnus-request-article-this-buffer
article
gnus-newsgroup-name)
(buffer-string))))
and then that string gets passed to bogofilter:
(when (stringp article-string)
(with-temp-buffer
(insert article-string)
(apply 'call-process-region
(point-min) (point-max)
spam-bogofilter-program
nil nil nil switch
(if db `("-d" ,db "-v") `("-v")))))))
So spam.el just passes the article as a string, using the
gnus-request-article-this-buffer function. We can change this if
necessary, to add extra parameters to bogofilter's invocation or to
spam-get-article-as-string to encode to UCS/UTF-8. I don't know much
about Gnus article encodings so I'm cc-ing this to the ding mailing list
as well in case someone can help.
Ted
p.s. your English is fine :)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Encoding of messages
[not found] ` <m2ir71xb1o.fsf@lifelogs.com>
@ 2007-08-27 15:23 ` Eric Böse-Wolf
0 siblings, 0 replies; 4+ messages in thread
From: Eric Böse-Wolf @ 2007-08-27 15:23 UTC (permalink / raw)
To: info-gnus-english
[-- Attachment #1.1: Type: text/plain, Size: 107 bytes --]
How does spam.el handle encrypted messages? Hopefully it
does not feed them into bogofilter :-)
mfg
Eric
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-08-27 15:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <fagmo3$m8p$02$1@news.t-online.com>
2007-08-22 14:01 ` Encoding of messages Ted Zlatanov
2007-08-22 14:28 ` Eric Böse-Wolf
2007-08-27 15:16 ` Ted Zlatanov
[not found] ` <m2ir71xb1o.fsf@lifelogs.com>
2007-08-27 15:23 ` Eric Böse-Wolf
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).