[Bug:1.9] upcase of め becomes ち in ISO-2022-JP


#1

e$B1sF#$G$9!#e(B

ISO-2022-JP e$B$G!V$a!W$re(B upcase e$B$9$k$H!V$A!W$K$J$j$^$9!#e(B

$ ./ruby -e p ["\u3081",
\u3081.encode(ISO-2022-JP).upcase.encode(UTF-8)]
[e$B$ae(B, e$B$Ae(B]


#2

e$B@.@%$G$9!#e(B

Yusuke ENDOH wrote:

e$B1sF#$G$9!#e(B

ISO-2022-JP e$B$G!V$a!W$re(B upcase e$B$9$k$H!V$A!W$K$J$j$^$9!#e(B

$ ./ruby -e p ["\u3081",
\u3081.encode(ISO-2022-JP).upcase.encode(UTF-8)]
[e$B$ae(B, e$B$Ae(B]

dummy encoding e$B$Ke(B upcase e$B$ONc30$G$7$g$&$M$!#e(B


#3

e$B%A%1%C%He(B #698 e$B$,99?7$5$l$^$7$?!#e(B (by Yukihiro M.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r20046.

http://redmine.ruby-lang.org/issues/show/698