Fix plist parser failing when encoded with ASCII.

This commit is contained in:
Markus Reiter 2017-04-20 02:41:41 +02:00
parent b6b98f486e
commit 625a950b46

5
Library/Homebrew/vendor/plist/plist/parser.rb vendored Normal file → Executable file
View File

@ -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