encoding-codepage 0.4 → 0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/encoding-codepage.rb +2 -1
- metadata +1 -1
data/lib/encoding-codepage.rb
CHANGED
@@ -54,7 +54,8 @@ class Encoding
|
|
54
54
|
number, original, comment = line.split("\t", 3)
|
55
55
|
number = Integer(number, 10)
|
56
56
|
|
57
|
-
if encoding = exist?(original.upcase)
|
57
|
+
if encoding = exist?(original.upcase)
|
58
|
+
next if encoding.dummy?
|
58
59
|
encoding.replicate "CP#{number}" unless codepage?(number)
|
59
60
|
|
60
61
|
CodePage.reverse_lookup[encoding] = codepage(number)
|