El mié, 22-01-2014 a las 14:24 -0500, sami wagiaalla escribió: > >> If this is a security setting is there a way to get notified of security > >> settings violations ? > > > > Yes, try opening the web inspector (right click -> inspect element) and > > you will be able to debug the problem. You can see the resources loaded, > > and the javascript warnings. > > > > This was a great tip I should have tried it sooner. > > I reproduced my problem with the Minibrowser and used the inspector. TI > inspected the CSS file and saw Japanese or Chinese characters. > > It turns out the issue is that when using webkit_web_view_load_html > webkit expects the linked files to be UTF16 even if the default charset > was set to utf8. > > To test this I converted the included CSS file to UTF16 and everything > works. > > Is this a bug or am I missing some setting somewhere ?
I would say it's a bug, WebKit works with UTF16 internally but all our public API expects utf8 strings, like all other GNOME APIs. Could you provide a self contained test case? > Thanks, > Sami > Thanks, -- Carlos Garcia Campos http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
signature.asc
Description: This is a digitally signed message part
_______________________________________________ webkit-gtk mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-gtk
