Skip to content

Commit 5a86dfa

Browse files
committed
Set file encoding to ASCII-8BIT
1 parent 44526e0 commit 5a86dfa

21 files changed

+22
-22
lines changed

contrib/wmf.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22

33
# this file will be used later to enhance the msg conversion.
44

@@ -52,7 +52,7 @@ def wmf_getdimensions wmf_data
5252
\b\f2\fs20{\object\objemb{\*\objclass PBrush}\objw1320\objh1274{\*\objdata
5353
01050000 <- looks like standard header
5454
02000000 <- not sure
55-
07000000 <- this means length of following is 7.
55+
07000000 <- this means length of following is 7.
5656
50427275736800 <- Pbrush\000 in hex
5757
00000000 <- ?
5858
00000000 <- ?

lib/mapi.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
require 'mapi/version'
33
require 'mapi/base'
44
require 'mapi/types'

lib/mapi/base.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
module Mapi
33
#
44
# Mapi::Item is the base class used for all mapi objects, and is purely a

lib/mapi/convert.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
# we have two different "backends" for note conversion. we're sticking with
33
# the current (home grown) mime one until the tmail version is suitably
44
# polished.

lib/mapi/convert/contact.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
require 'rubygems'
33
require 'vpim/vcard'
44

lib/mapi/convert/note-mime.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
require 'base64'
33
require 'mapi/mime'
44
require 'time'

lib/mapi/convert/note-tmail.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
require 'rubygems'
33
require 'tmail'
44

lib/mapi/mime.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
#
33
# = Introduction
44
#

lib/mapi/msg.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
require 'ole/storage'
33
require 'mapi'
44
require 'mapi/rtf'

lib/mapi/orderedhash.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
# = OrderedHash
33
#
44
# == Version

lib/mapi/property_set.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
require 'yaml'
33
require 'mapi/types'
44
require 'mapi/rtf'

lib/mapi/pst.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
#
33
# = Introduction
44
#

lib/mapi/rtf.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
require 'stringio'
33
require 'strscan'
44

lib/mapi/types.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
require 'rubygems'
33
require 'ole/types'
44

lib/mapi/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
module Mapi
33
VERSION = '1.5.2'
44
end

test/test_convert_contact.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
require 'test/unit'
33

44
$:.unshift File.dirname(__FILE__) + '/../lib'

test/test_convert_note.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
require 'test/unit'
33

44
$:.unshift File.dirname(__FILE__) + '/../lib'

test/test_mime.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
#! /usr/bin/ruby -w
33

44
$: << File.dirname(__FILE__) + '/../lib'

test/test_msg.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
#! /usr/bin/ruby
33

44
TEST_DIR = File.dirname __FILE__

test/test_property_set.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
require 'test/unit'
33

44
$:.unshift File.dirname(__FILE__) + '/../lib'

test/test_types.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# -*- encoding : utf-8 -*-
1+
# -*- encoding : ASCII-8BIT -*-
22
require 'test/unit'
33

44
$:.unshift File.dirname(__FILE__) + '/../lib'

0 commit comments

Comments
 (0)