gglresearchanddevelopment/ironlanguages-main — comment on commit 630995eca293b5b0531e821b76bab7e15c4506f6
File: Languages/Ruby/Libraries/Builtins/Marshal.cs line 447
By tmat:

There is already a type switch belo that handles MutableString and RubyRegex. Why not just add encoding support there?