Project

General

Profile

Bug #698

upcase of め becomes ち in ISO-2022-JP

Added by mame (Yusuke Endoh) almost 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
Backport:
[ruby-dev:36985]

Description

=begin
遠藤です。

ISO-2022-JP で「め」を upcase すると「ち」になります。

$ ./ruby -e 'p ["\u3081",
"\u3081".encode("ISO-2022-JP").upcase.encode("UTF-8")]'
["め", "ち"]

--
Yusuke ENDOH mame@tsg.ne.jp
=end

#1

Updated by naruse (Yui NARUSE) almost 12 years ago

=begin
成瀬です。

Yusuke ENDOH wrote:

遠藤です。

ISO-2022-JP で「め」を upcase すると「ち」になります。

$ ./ruby -e 'p ["\u3081",
"\u3081".encode("ISO-2022-JP").upcase.encode("UTF-8")]'
["め", "ち"]

dummy encoding に upcase は例外でしょうねぇ。

--
NARUSE, Yui naruse@airemix.jp

=end

#2

Updated by matz (Yukihiro Matsumoto) almost 12 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r20046.
=end

Also available in: Atom PDF