Project

General

Profile

Actions

Bug #698

closed

upcase of め becomes ち in ISO-2022-JP

Added by mame (Yusuke Endoh) over 15 years ago. Updated almost 13 years ago.

Status:
Closed
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
=end

Actions #1

Updated by naruse (Yui NARUSE) over 15 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

=end

Actions #2

Updated by matz (Yukihiro Matsumoto) over 15 years ago

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

=begin
Applied in changeset r20046.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0