Project

General

Profile

Bug #2185

漢字がprintableと見なされない

Added by nobu (Nobuyoshi Nakada) over 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
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

#1

Updated by nobu (Nobuyoshi Nakada) over 10 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

#2

Updated by naruse (Yui NARUSE) over 10 years ago

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

=begin
Applied in changeset r25260.
=end

Also available in: Atom PDF