mb_convert_encoding

The Simple Calendar mb convert encoding function.

Description

mb_convert_encoding( $s, $to, (constant) $from = null ); 

Parameters (3)

0. $s
The s.
1. $to
The to.
2. $from — Optional. (constant) => null
The from.

Usage

  1. if ( !function_exists( 'mb_convert_encoding' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'simple-calendar/vendor/symfony/polyfill-mbstring/bootstrap.php'; 
  3.  
  4. // The s. 
  5. $s = null; 
  6.  
  7. // The to. 
  8. $to = null; 
  9.  
  10. // The from. 
  11. $from = null; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = mb_convert_encoding($s, $to, $from); 
  15.  

Defined (1)

The function is defined in the following location(s).

/vendor/symfony/polyfill-mbstring/bootstrap.php