]> git.cworth.org Git - sup/commit
refactor iconv stuff, and normalize message body and headers
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 2 Jun 2009 14:39:18 +0000 (07:39 -0700)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Tue, 2 Jun 2009 14:39:18 +0000 (07:39 -0700)
commit5cb77d7f09872013df43d9e96cdd4078c21e0aa1
tree3201443f91fb5031c7e9b2cb0716b36388b08b29
parenta8869f951cf8ec3a4a50492290c9ca757c968f49
refactor iconv stuff, and normalize message body and headers

- Message body and headers are now normalized to the current encoding.
  This should limit the amount of unprintable characters on the screen.
- No more MessageFormatError (was never being thrown anyways).
- Move exception handling to Iconv.easy_decode
- No more Message#convert_from, since Iconv.easy_decode does it all now.
bin/sup-recover-sources
lib/sup/message-chunks.rb
lib/sup/message.rb
lib/sup/poll.rb
lib/sup/util.rb