diff --git a/dev/tasks/linux-packages/apache-arrow-release/Rakefile b/dev/tasks/linux-packages/apache-arrow-release/Rakefile index dc2411f0de727..19a0e4f915fe3 100644 --- a/dev/tasks/linux-packages/apache-arrow-release/Rakefile +++ b/dev/tasks/linux-packages/apache-arrow-release/Rakefile @@ -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 = [