ruby/ext/win32
Josh Cooper 0d16c36d0a [win32/registry] Fallback to UTF-8 for unknown codepages
There are some codepages like cp708 for which no ruby encoding exists:

    $ ruby -e "Encoding.find('cp708')"
    Traceback (most recent call last):
    	1: from -e:1:in `<main>'
    -e:1:in `find': unknown encoding name - cp708 (ArgumentError)

win32/registry uses ENCODING to transcode error messages and expand environment
variables from UTF-16LE, so using UTF-8 seems like the best choice and is better
than a hard failure.

This should resolve [Bug #13831]
2024-09-25 10:43:31 +09:00
..
lib/win32 [win32/registry] Fallback to UTF-8 for unknown codepages 2024-09-25 10:43:31 +09:00
resolv [ruby/resolv] Add spec extensions 2024-09-10 08:33:32 +00:00
depend Added depend files 2019-07-14 01:31:29 +09:00
extconf.rb extmk.rb: removed compiled? method [ci skip] 2016-11-18 04:34:26 +00:00