Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




wp_set_internal_encoding [ WordPress Function ]

wp_set_internal_encoding ( No parameters )
Access:
  • private
Defined at:



Sets internal encoding using mb_internal_encoding().

In most cases the default internal encoding is latin1, which is of no use, since we want to use the mb_ functions for utf-8 strings.

Source


<?php
function wp_set_internal_encoding() {
    if ( 
function_exists'mb_internal_encoding' ) ) {
        if ( !@
mb_internal_encodingget_option'blog_charset' ) ) )
            
mb_internal_encoding'UTF-8' );
    }
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics