Project

General

Profile

Bug #1833

Class name encoding

Added by tmat (Tomas Matousek) over 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mswin32]
Backport:
[ruby-core:24600]

Description

=begin
Encoding of class name is not preserved.

#encoding: UTF-8

class Cß
end

p Cß.name #=> "C\xC3\x9F"
p Cß.name.encoding #=> #Encoding:ASCII-8BIT

I expect the encoding of the name to be UTF-8.
=end

History

#1

Updated by naruse (Yui NARUSE) over 10 years ago

  • Category set to M17N
  • Status changed from Open to Assigned
  • Assignee set to naruse (Yui NARUSE)
  • Target version set to 1.9.2

=begin

=end

#2

Updated by nobu (Nobuyoshi Nakada) over 10 years ago

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

=begin
Applied in changeset r24321.
=end

Also available in: Atom PDF