Merge pull request #3142 from henricm/fix-for-win-mono_string_to_utf8