Project

General

Profile

Actions

Bug #1833

closed

Class name encoding

Added by tmat (Tomas Matousek) over 15 years ago. Updated over 13 years ago.

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

Actions #1

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

Actions #2

Updated by nobu (Nobuyoshi Nakada) over 15 years ago

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

=begin
Applied in changeset r24321.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0