Commit f5ea80d
committed
Return registry strings of each_value and each_key as UTF-8
Since ruby-3.0 usually all strings from the Windows-API are returned as UTF-8 strings.
Win32::Registry partly returned OEM encoding.
This was a leftover from 2.x times.
This commit changes it to UTF-8.
Fixes: oneclick/rubyinstaller2#3481 parent 5b66442 commit f5ea80d
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 72 | + | |
77 | 73 | | |
78 | 74 | | |
79 | 75 | | |
| |||
0 commit comments