From: Michael Stapelberg <michael+sup@stapelberg.de>
To: sup-devel@rubyforge.org
Subject: [sup-devel] [Heliotrope] Bug: Cannot use UTF-8 characters in subject
Date: Sun, 08 Jan 2012 21:23:06 +0000 [thread overview]
Message-ID: <1326057665-sup-9349@stapelberg.de> (raw)
Hey,
I tried sending an email to this list and used an UTF-8 character in the
message subject. Turnsole (or RMail?) doesn’t like that, and I got the
following exception:
$ ruby -I lib -I ../heliotrope/lib bin/turnsole
/home/michael/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead.
/home/michael/.rvm/gems/ruby-1.9.3-p0@sup2011-11-18/gems/rmail-1.0.0/lib/rmail/header.rb:81:in `=~': incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string) (Encoding::CompatibilityError)
from /home/michael/.rvm/gems/ruby-1.9.3-p0@sup2011-11-18/gems/rmail-1.0.0/lib/rmail/header.rb:81:in `parse'
from /home/michael/.rvm/gems/ruby-1.9.3-p0@sup2011-11-18/gems/rmail-1.0.0/lib/rmail/parser.rb:233:in `block in parse_header'
from /home/michael/.rvm/gems/ruby-1.9.3-p0@sup2011-11-18/gems/rmail-1.0.0/lib/rmail/parser.rb:229:in `each'
from /home/michael/.rvm/gems/ruby-1.9.3-p0@sup2011-11-18/gems/rmail-1.0.0/lib/rmail/parser.rb:229:in `parse_header'
from /home/michael/.rvm/gems/ruby-1.9.3-p0@sup2011-11-18/gems/rmail-1.0.0/lib/rmail/parser.rb:194:in `parse_low'
from /home/michael/.rvm/gems/ruby-1.9.3-p0@sup2011-11-18/gems/rmail-1.0.0/lib/rmail/parser.rb:183:in `parse'
from /home/michael/.rvm/gems/ruby-1.9.3-p0@sup2011-11-18/gems/rmail-1.0.0/lib/rmail/parser.rb:331:in `parse'
from /home/michael/.rvm/gems/ruby-1.9.3-p0@sup2011-11-18/gems/rmail-1.0.0/lib/rmail/parser.rb:345:in `read'
from /home/michael/turnsole/lib/turnsole/modes/edit-message-mode.rb:273:in `parse_file'
from /home/michael/turnsole/lib/turnsole/modes/edit-message-mode.rb:166:in `edit_message!'
from /home/michael/turnsole/lib/turnsole/modes/compose-mode.rb:19:in `edit_message!'
from /home/michael/turnsole/lib/turnsole/modes/compose-mode.rb:47:in `spawn_nicely'
from /home/michael/turnsole/lib/turnsole/global.rb:100:in `do'
from /home/michael/turnsole/lib/turnsole/input.rb:41:in `handle'
from /home/michael/turnsole/lib/turnsole/ui.rb:69:in `block in step'
from /home/michael/turnsole/lib/turnsole/ui.rb:100:in `block in spawn_fiber'
Also, I noticed that the tempfile which turnsole used to store my mail was gone
afterwards :(. The message was not saved as a draft in Heliotrope either. GMail
does that pretty well, so it would be great if we could keep up here.
Best regards,
Michael
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
next reply other threads:[~2012-01-08 23:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-08 21:23 Michael Stapelberg [this message]
2012-01-09 23:23 ` William Morgan
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=1326057665-sup-9349@stapelberg.de \
--to=michael+sup@stapelberg.de \
--cc=sup-devel@rubyforge.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