asip-meteor 0.9.1.5 → 0.9.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/meteor.rb +9 -9
- metadata +1 -1
data/lib/meteor.rb
CHANGED
@@ -18,20 +18,20 @@
|
|
18
18
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
19
19
|
#
|
20
20
|
# @author Yasumasa Ashida
|
21
|
-
# @version 0.9.1.
|
21
|
+
# @version 0.9.1.6
|
22
22
|
#
|
23
23
|
|
24
24
|
|
25
25
|
RUBY_VERSION_1_9_0 = '1.9.0'
|
26
26
|
|
27
27
|
if RUBY_VERSION < RUBY_VERSION_1_9_0 then
|
28
|
-
require '
|
28
|
+
require 'Kconv'
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
32
|
module Meteor
|
33
33
|
|
34
|
-
VERSION = "0.9.1.
|
34
|
+
VERSION = "0.9.1.6"
|
35
35
|
|
36
36
|
ZERO = 0
|
37
37
|
ONE = 1
|
@@ -1020,19 +1020,19 @@ module Meteor
|
|
1020
1020
|
def get_encoding()
|
1021
1021
|
case @character_encoding
|
1022
1022
|
when 'UTF-8'
|
1023
|
-
|
1023
|
+
Kconv::UTF8
|
1024
1024
|
when 'ISO-2022-JP'
|
1025
|
-
|
1025
|
+
Kconv::JIS
|
1026
1026
|
when 'Shift_JIS'
|
1027
|
-
|
1027
|
+
Kconv::SJIS
|
1028
1028
|
when 'EUC-JP'
|
1029
|
-
|
1029
|
+
Kconv::EUC
|
1030
1030
|
when 'ASCII'
|
1031
|
-
|
1031
|
+
Kconv::ASCII
|
1032
1032
|
#when "UTF-16"
|
1033
1033
|
# return KConv::UTF16
|
1034
1034
|
else
|
1035
|
-
|
1035
|
+
Kconv::UTF8
|
1036
1036
|
end
|
1037
1037
|
end
|
1038
1038
|
private :get_encoding
|