mirror of
https://github.com/munki/munki.git
synced 2026-02-09 08:40:40 -06:00
MSU.app: Encode update descriptions in UTF-8 before passing to WebKit WebFrame loadData_MIMEType_textEncodingName_baseURL_. Fixes an issue with certain Mac OS X versions.
This commit is contained in:
@@ -78,7 +78,7 @@ class MSUupdatesViewController(NSViewController):
|
||||
self.descriptionView.mainFrame().loadHTMLString_baseURL_(description, None)
|
||||
else:
|
||||
self.descriptionView.mainFrame().loadData_MIMEType_textEncodingName_baseURL_(
|
||||
buffer(description),
|
||||
buffer(description.encode('UTF-8')),
|
||||
u"text/plain", u"utf-8", None)
|
||||
|
||||
def updateDescriptionView(self):
|
||||
|
||||
Reference in New Issue
Block a user