/var/www/hkosl.com/imusiccircle/webadmin/libraies/php-console/php-console/tests/scripts/set_connector_encoding.php


1
2
3
4
5
6
7
8
9
<?php

if(extension_loaded('mbstring')) {
    
ini_set('mbstring.internal_encoding'$encoding);
    
ini_set('mbstring.http_output'$encoding);
    
ini_set('mbstring.func_overload'2);
}

PhpConsole\Connector::getInstance()->setServerEncoding($encoding);