Source/WebKit/gtk/webkit/webkitwebview.cpp
const char* webkit_web_view_get_custom_encoding(WebKitWebView* webView)
{
    g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), NULL);
    String overrideEncoding = core(webView)->mainFrame()->loader()->documentLoader()->overrideEncoding();
    if (overrideEncoding.isEmpty())
        return 0;
    webView->priv->customEncoding = overrideEncoding.utf8();
    return webView->priv->customEncoding.data();
}
/**
 * webkit_web_view_get_custom_encoding:
 * @webView: a #WebKitWebView
 *
 * Returns the current encoding of the #WebKitWebView, not the default-encoding
 * of WebKitWebSettings.
 *
 * Return value: a string containing the current custom encoding for @web_view, or %NULL if there's none set.
 *
 * Since: 1.1.1
 */


Returns the current encoding of the #WebKitWebView, not the default-encoding
of WebKitWebSettings.

Return value: a string containing the current custom encoding for @web_view, or %NULL if there's none set.


Returns the current encoding of the #WebKitWebView not the default - encoding of WebKitWebSettings . Return value : a string containing the current custom encoding for @web_view or %NULL if there ' s none set .
const char* webkit_web_view_get_custom_encoding(WebKitWebView* webView)
{
    g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), NULL);
    String overrideEncoding = core(webView)->mainFrame()->loader()->documentLoader()->overrideEncoding();
    if (overrideEncoding.isEmpty())
        return 0;
    webView->priv->customEncoding = overrideEncoding.utf8();
    return webView->priv->customEncoding.data();
}
const char * webkit_web_view_get_custom_encoding ( WebKitWebView * webView ) { g_return_val_if_fail ( WEBKIT_IS_WEB_VIEW ( webView ) , NULL ) ; String overrideEncoding = core ( webView ) -> mainFrame ( ) -> loader ( ) -> documentLoader ( ) -> overrideEncoding ( ) ; if ( overrideEncoding . isEmpty ( ) ) return 0 ; webView -> priv -> customEncoding = overrideEncoding . utf8 ( ) ; return webView -> priv -> customEncoding . data ( ) ; }
webkit_web_view_get_custom_encoding:
 @webView: a #WebKitWebView
webkit_web_view_get_custom_encoding : @webView : a #WebKitWebView