From 625a950b461b8373e4728c6ad01de33d1abd13d8 Mon Sep 17 00:00:00 2001 From: Markus Reiter <me@reitermark.us> Date: Thu, 20 Apr 2017 02:41:41 +0200 Subject: [PATCH] Fix `plist` parser failing when encoded with ASCII. --- Library/Homebrew/vendor/plist/plist/parser.rb | 5 +++++ 1 file changed, 5 insertions(+) mode change 100644 => 100755 Library/Homebrew/vendor/plist/plist/parser.rb diff --git a/Library/Homebrew/vendor/plist/plist/parser.rb b/Library/Homebrew/vendor/plist/plist/parser.rb old mode 100644 new mode 100755 index de441fcc50..7d8bfab07f --- a/Library/Homebrew/vendor/plist/plist/parser.rb +++ b/Library/Homebrew/vendor/plist/plist/parser.rb @@ -69,6 +69,11 @@ module Plist @xml = plist_data_or_file end + # TODO: Update vendored `plist` parser when + # https://github.com/patsplat/plist/pull/38 + # is merged. + @xml.force_encoding("UTF-8") + @listener = listener end -- GitLab