Sha256: 7427b46745bb2ea8f3b3dff6e669150fbae7883bc8116f53c13106d95a62affa

Contents?: true

Size: 368 Bytes

Versions: 9

Compression:

Stored size: 368 Bytes

Contents

require 'kconv'

module Keystone
  module Mail
    #
    # encoding 未実装
    #
    #
    class MessageSjis < Keystone::Mail::Message
      def encode_mime(st)
        Kconv.tosjis(st)
      end
      
      def mime_header_string
        "=?ShiftJIS?B?"        
      end      

      def encode_body
        Kconv.tosjis(@body)
      end      
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
kanamei-keystone-0.0.20 lib/keystone/mail/message_sjis.rb
kanamei-keystone-0.0.21 lib/keystone/mail/message_sjis.rb
kanamei-keystone-0.0.22 lib/keystone/mail/message_sjis.rb
kanamei-keystone-0.0.23 lib/keystone/mail/message_sjis.rb
kanamei-keystone-0.0.24 lib/keystone/mail/message_sjis.rb
kanamei-keystone-0.0.25 lib/keystone/mail/message_sjis.rb
kanamei-keystone-0.0.26 lib/keystone/mail/message_sjis.rb
kanamei-keystone-0.0.27 lib/keystone/mail/message_sjis.rb
keystone-0.0.29 lib/keystone/mail/message_sjis.rb