From: "Bjørn Mork" <bmork@dod.no>
To: ding@gnus.org
Subject: Re: (Re-)coding problems forwarding calendar attachment
Date: Thu, 23 Aug 2007 17:27:23 +0200 [thread overview]
Message-ID: <87y7g2p8ys.fsf@obelix.mork.no> (raw)
In-Reply-To: <b4mr6lu7tg0.fsf@jpl.org>
Katsumi Yamaoka <yamaoka@jpl.org> writes:
>>>>>> Bjørn Mork wrote:
>
>> This all looks good to me. According to RFC2445, the default charset
>> for an iCalendar object is UTF-8, and the text within the object looks
>> like valid UTF-8 to me.
>
> I've modified Gnus so as to use UTF-8 by default for decoding
> text/calender parts.
Probably good, but may cause problems with pre-RFC (version 1.0)
text/calendar parts. Let's hope everybody using those were sending
strict US-ASCII (possibly using QP to encode other charsets)
> It is because Gnus doesn't decode the text/calendar part since
> Gnus doesn't know the default charset for it, and inserts raw
> UTF-8 data in the message buffer.
I don't get the question anymore. Thanks.
But it still doesn't work. The attachment is encoded as
quoted-printable and gets this header:
Content-Type: text/calendar; charset=iso-8859-1; name=meeting.ics
Content-Transfer-Encoding: quoted-printable
But it is not converted from utf-8, so that 'æ' is coded as '=C3=A6',
'å' as '=C3=A5' etc.
Everything would have been fine if Gnus had just used
Content-Type: text/calendar; charset=utf-8; name=meeting.ics
Content-Transfer-Encoding: quoted-printable
Any idea where this confusion comes from?
Bjørn
--
I don't want to hear about your prostitute.
next prev parent reply other threads:[~2007-08-23 15:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-22 12:56 Bjørn Mork
2007-08-23 4:42 ` Katsumi Yamaoka
2007-08-23 15:27 ` Bjørn Mork [this message]
2007-08-24 10:22 ` Katsumi Yamaoka
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=87y7g2p8ys.fsf@obelix.mork.no \
--to=bmork@dod.no \
--cc=ding@gnus.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.
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).