[Ironruby-core] MutableString encoding issue

Oleg Tkachenko olegtk at microsoft.com
Mon Jul 14 02:20:11 EDT 2008

Stumbled on this when testing yaml.

>>> "\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?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080713/7cd2933d/attachment-0001.html>

More information about the Ironruby-core mailing list