diff options
Diffstat (limited to 'lib/rexml/encodings/CP-1252.rb')
-rw-r--r-- | lib/rexml/encodings/CP-1252.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/rexml/encodings/CP-1252.rb b/lib/rexml/encodings/CP-1252.rb index 8675f9ff98..2ef6a1a291 100644 --- a/lib/rexml/encodings/CP-1252.rb +++ b/lib/rexml/encodings/CP-1252.rb @@ -3,12 +3,12 @@ # module REXML module Encoding - register( "CP-1252" ) do |o| - class << o - alias encode encode_cp1252 - alias decode decode_cp1252 - end - end + register( "CP-1252" ) do |o| + class << o + alias encode encode_cp1252 + alias decode decode_cp1252 + end + end # Convert from UTF-8 def encode_cp1252(content) |