[Ironruby-core] MutableString encoding issue
Tomas Matousek
Tomas.Matousek at microsoft.com
Mon Jul 14 12:13:55 EDT 2008
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: ironruby-core at rubyforge.org
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080714/ce75292a/attachment.html>
More information about the Ironruby-core
mailing list