With WebKit1, default encoding could be set via +[WebPreferences _setInitialDefaultTextEncodingToSystemEncoding], but there is nothing equivalent for WebKit2 modern API.
Created attachment 236128 [details]
Comment on attachment 236128 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=236128&action=review
> + macro(DefaultTextEncodingName, defaultTextEncodingName, String, String, defaultTextEncodingNameForSystemLanguage()) \
I think you want to prefix this with WebCore:: since it's a WebCore function.
> I think you want to prefix this with WebCore:: since it's a WebCore function.
Talked to Anders, and we decided that it's OK as is.