Fix plist parser failing when encoded with ASCII.
This commit is contained in:
parent
b6b98f486e
commit
625a950b46
5
Library/Homebrew/vendor/plist/plist/parser.rb
vendored
Normal file → Executable file
5
Library/Homebrew/vendor/plist/plist/parser.rb
vendored
Normal file → Executable file
@ -69,6 +69,11 @@ module Plist
|
|||||||
@xml = plist_data_or_file
|
@xml = plist_data_or_file
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# TODO: Update vendored `plist` parser when
|
||||||
|
# https://github.com/patsplat/plist/pull/38
|
||||||
|
# is merged.
|
||||||
|
@xml.force_encoding("UTF-8")
|
||||||
|
|
||||||
@listener = listener
|
@listener = listener
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user