"set names utf8")); return $pdo; } catch (PDOException $e) { write_log('ctsdata_test new PDO failed:' . $e->getMessage()); } } ?>