Skip to content

Commit

Permalink
GH-39074: [Release][Packaging] Use UTF-8 explicitly for KEYS
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 5, 2023
1 parent b326917 commit 834a72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/tasks/linux-packages/apache-arrow-release/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ApacheArrowReleasePackageTask < PackageTask
keys_path = "#{@archive_base_name}/KEYS"
download("https://www.apache.org/dyn/closer.lua?action=download&filename=arrow/KEYS",
keys_path)
keys = File.read(keys_path)
keys = File.read(keys_path, encoding: "UTF-8")
File.open(keys_path, "w") do |keys_file|
is_ed25519_key = false
deny_lists = [
Expand Down

0 comments on commit 834a72f

Please sign in to comment.