I think it's a bug :). Could you file it? If it's something that's blocking you 
I can look at it asap.

Tomas

From: Oleg Tkachenko
Sent: Sunday, July 13, 2008 11:20 PM
To: IronRuby Team
Cc: [email protected]
Subject: MutableString encoding issue

Stumbled on this when testing yaml.

>>> "\204"
=> "?"

While

irb(main):005:0>"\204"
=> "\204"

I believe Ruby string can hold arbitrary byte values, but as we are storing 
content as a string we are obviously losing all values that cannot be 
represented in default encoding. Tomas, what do you think?

--
Oleg

_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to