summaryrefslogtreecommitdiff
path: root/lib/rexml/encodings
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/encodings')
-rw-r--r--lib/rexml/encodings/CP-1252.rb12
-rw-r--r--lib/rexml/encodings/ISO-8859-15.rb6
2 files changed, 9 insertions, 9 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)
diff --git a/lib/rexml/encodings/ISO-8859-15.rb b/lib/rexml/encodings/ISO-8859-15.rb
index 8dea0d38a4..953267250e 100644
--- a/lib/rexml/encodings/ISO-8859-15.rb
+++ b/lib/rexml/encodings/ISO-8859-15.rb
@@ -3,10 +3,10 @@
#
module REXML
module Encoding
- register("ISO-8859-15") do |o|
- alias encode to_iso_8859_15
+ register("ISO-8859-15") do |o|
+ alias encode to_iso_8859_15
alias decode from_iso_8859_15
- end
+ end
# Convert from UTF-8
def to_iso_8859_15(content)