puppet/util/windows/string.rb currently contains some code intended to work around Ruby bugs prior to 2.1
This code should now be moot, but requires some validation \ verification. The last time it was touched, it was refactored so that it only has a single callsite in puppet/util/windows/api_types.rb
{{puppet/util/windows/string.rb}} currently contains some code intended to work around Ruby bugs prior to 2.1
This code should now be moot, but requires some validation \ verification. The last time it was touched, it was refactored so that it only has a single callsite in {{
Good point Maggie Dreyer - though I believe no one should be running Windows + Ruby 1.9.3 any more (we don't have a supported Windows agent with that runtime)
Ruby backported a number of multibyte terminators to at least ruby 2.3 (https://github.com/puppetlabs/puppet/pull/8214), so this could in theory land in 6.y. Or we could wait for puppet 7. Thoughts?