I have an array:
require_once ('config.php');
require_once ('php/Db.class.php');
require_once ('php/Top.class.php');
echo "db";
$db = new Db(DB_CUSTOM);
$db->connect();
$res = $db->getResult("select first 1 * from reklamacje");
print_r($res);
I want to convert it from windows-1250 to utf-8, because I have chars like �
Best.
$res = array_map('utf8_encode', $res);
. – Pisistratus