Project

General

Profile

Actions

Bug #1918

closed

inspect Struct.new results incompatible character encodings on non-ascii structure

Added by phasis68 (Heesob Park) over 15 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2009-08-10 trunk 24489) [i686-linux]
Backport:
[ruby-core:24849]

Description

=begin
inspect Struct.new results incompatible character encodings on non-ascii name and member.

$ ruby -e "Résumé = Struct.new(:résumé);p Résumé.new"
-e:1:in inspect': incompatible character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError) from -e:1:in p'
from -e:1:in `'
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0