Skip to content

Commit 19638a7

Browse files
committed
merge revision(s) 13830:
* lib/rexml/encodings/SHIFT-JIS.rb (REXML::Encoding): place -x for nkf conversion. a patch from <moonwolf AT moonwolf.com>. [ruby-dev:32183] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@16927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent fd0f7b0 commit 19638a7

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Sun Jun 8 03:28:53 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
2+
3+
* lib/rexml/encodings/SHIFT-JIS.rb (REXML::Encoding): place -x for
4+
nkf conversion. a patch from <moonwolf AT moonwolf.com>.
5+
[ruby-dev:32183]
6+
17
Sun Jun 8 03:07:19 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
28

39
* lib/optparse.rb (OptionParser::Switch::summarize): fix for long form

lib/rexml/encodings/SHIFT-JIS.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ def encode_sjis(str)
1313
rescue LoadError
1414
require 'nkf'
1515

16-
SJISTOU8 = '-Swm0'
17-
U8TOSJIS = '-Wsm0'
16+
SJISTOU8 = '-Swm0x'
17+
U8TOSJIS = '-Wsm0x'
1818

1919
def decode_sjis(str)
2020
NKF.nkf(SJISTOU8, str)

version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#define RUBY_RELEASE_DATE "2008-06-08"
33
#define RUBY_VERSION_CODE 186
44
#define RUBY_RELEASE_CODE 20080608
5-
#define RUBY_PATCHLEVEL 140
5+
#define RUBY_PATCHLEVEL 141
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8

0 commit comments

Comments
 (0)