Currently, the default encoding being used is ISO-8859-1 which is
a single-byte encoding and is capable of only supporting limited symbols.
Change it to UTF-8(multi byte encoding) just like in crosswalk to extend
support for more symbols
Change-Id: I92e70445ca668c8db8c258e4ad1a6d41816dd2fb
Signed-off-by: surya.kumar7 <surya.kumar7@samsung.com>
// Custom schemes to be registered to handle service worker.
std::string g_custom_service_worker_schemes = "";
+const std::string kDefaultEncoding = "UTF-8";
+
void Noop(scoped_refptr<content::SiteInstance>) {
}
prefs->allow_file_access_from_file_urls = true;
prefs->experimental_webgl_enabled = true;
prefs->allow_running_insecure_content = false;
+ prefs->default_encoding = kDefaultEncoding;
// Custom preferences of guest page.
auto web_contents = content::WebContents::FromRenderViewHost(host);