Add charset to <head>

This commit is contained in:
Aparajita Fishman committed 2013-02-16 07:43:27 -05:00
1 parent db771960f3
commit cf867cf3b6
1 file changed
+1 -1
+1 -1
View File
@@ -556,7 +556,7 @@ var resizeTimer = nil;
[PlatformWindows addObject:self];
// FIXME: cpSetFrame?
_DOMWindow.document.write("<!DOCTYPE html><html lang='en'><head></head><body style='background-color:transparent;'></body></html>");
_DOMWindow.document.write('<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"></head><body style="background-color:transparent;"></body></html>');
_DOMWindow.document.close();
if (self != [CPPlatformWindow primaryPlatformWindow])