summaryrefslogtreecommitdiff
path: root/lib/rexml/encodings/SHIFT-JIS.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rexml/encodings/SHIFT-JIS.rb')
-rw-r--r--lib/rexml/encodings/SHIFT-JIS.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rexml/encodings/SHIFT-JIS.rb b/lib/rexml/encodings/SHIFT-JIS.rb
index 93c7877afd..9e0f4af20e 100644
--- a/lib/rexml/encodings/SHIFT-JIS.rb
+++ b/lib/rexml/encodings/SHIFT-JIS.rb
@@ -13,8 +13,8 @@ module REXML
rescue LoadError
require 'nkf'
- SJISTOU8 = '-Swm0'
- U8TOSJIS = '-Wsm0'
+ SJISTOU8 = '-Swm0x'
+ U8TOSJIS = '-Wsm0x'
def decode_sjis(str)
NKF.nkf(SJISTOU8, str)