aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMarkus Reiter2017-04-20 02:41:41 +0200
committerMarkus Reiter2017-04-20 02:41:41 +0200
commit625a950b461b8373e4728c6ad01de33d1abd13d8 (patch)
tree02e00e7eb133fa32060b6afe6a51c177c11fbf63 /Library/Homebrew
parentb6b98f486e8647bb25427a3e080c3dd8d266a9e2 (diff)
downloadbrew-625a950b461b8373e4728c6ad01de33d1abd13d8.tar.bz2
Fix `plist` parser failing when encoded with ASCII.
Diffstat (limited to 'Library/Homebrew')
-rwxr-xr-x[-rw-r--r--]Library/Homebrew/vendor/plist/plist/parser.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/vendor/plist/plist/parser.rb b/Library/Homebrew/vendor/plist/plist/parser.rb
index de441fcc5..7d8bfab07 100644..100755
--- 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