-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating ruby windows patches (#1914)
* Updating ruby windows patches Signed-off-by: John <[email protected]> * Updating the registry patch path Signed-off-by: John McCrae <[email protected]> --------- Signed-off-by: John <[email protected]> Signed-off-by: John McCrae <[email protected]>
- Loading branch information
1 parent
a32e7ee
commit 28c9c9f
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- "a/ext/win32/lib/win32/registry.rb" 2023-04-01 17:44:16.000000000 +0000 | ||
+++ "b/ext/win32/lib/win32/registry.rb" 2024-06-13 21:23:53.522771500 +0000 | ||
@@ -906,7 +906,7 @@ | ||
|
||
private | ||
|
||
- def export_string(str, enc = Encoding.default_internal || LOCALE) # :nodoc: | ||
+ def export_string(str, enc = Encoding.default_internal || "utf-8") # :nodoc: | ||
str.encode(enc) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters