2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /** String Functions for phpMyAdmin
5 * If mb_* functions don't exist, we create the ones we need and they'll use the
6 * standard string functions.
8 * All mb_* functions created by PMA should behave as mb_* functions.
12 if (! defined('PHPMYADMIN')) {
16 if (!defined('MULTIBYTES_ON')) {
17 define('MULTIBYTES_ON', true);
18 define('MULTIBYTES_OFF', false);
21 if (@function_exists
('mb_strlen')) {
22 if (!defined('MULTIBYTES_STATUS')) {
23 define('MULTIBYTES_STATUS', MULTIBYTES_ON
);
26 include_once 'libraries/stringMb.lib.php';
28 if (!defined('MULTIBYTES_STATUS')) {
29 define('MULTIBYTES_STATUS', MULTIBYTES_OFF
);
32 include_once 'libraries/stringNative.lib.php';