Project

General

Profile

Actions

Bug #2185

closed

漢字がprintableと見なされない

Added by nobu (Nobuyoshi Nakada) about 15 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2dev (2009-10-07 trunk 25257) [i386-darwin9.0]
Backport:
[ruby-dev:39444]

Description

=begin
なかだです。

ひらがな、カタカナはpで表示されますが、漢字はエスケープされています。

$ cat a.rb

-- coding: utf-8 --

p "あいうえお"
p "春夏秋冬"

$ ./ruby -v a.rb
ruby 1.9.2dev (2009-10-07 trunk 25257) [i386-darwin9.0]
"あいうえお"
"\u6625\u590F\u79CB\u51AC"

enc/unicode/name2ctype.hのCR_Printに漢字の領域が入っていないようです。

--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
中田 伸悦
=end

Actions #1

Updated by nobu (Nobuyoshi Nakada) about 15 years ago

  • Category set to M17N
  • Status changed from Open to Assigned
  • Assignee set to naruse (Yui NARUSE)
  • Priority changed from 3 to Normal
  • Target version set to 1.9.2
  • ruby -v set to ruby 1.9.2dev (2009-10-07 trunk 25257) [i386-darwin9.0]

=begin

=end

Actions #2

Updated by naruse (Yui NARUSE) about 15 years ago

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

=begin
Applied in changeset r25260.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0