Home
last modified time | relevance | path

Searched refs:gbk (Results 1 – 3 of 3) sorted by relevance

/PHP-8.2/ext/mysqli/tests/
H A D065.phpt36 if ($res = $mysql->query("SHOW CHARACTER SET LIKE 'gbk'")) {
38 if ($mysql->set_charset("gbk")) {
39 /* nothing should be escaped, it's a valid gbk character */
44 if ('gbk' !== ($tmp = $mysql->character_set_name()))
45 printf("[005] Expecting gbk/string got %s/%s\n", gettype($tmp), $tmp);
H A Dmysqli_real_escape_string_gbk.phpt2 mysqli_real_escape_string() - gbk
14 if (!mysqli_set_charset($link, 'gbk'))
15 die(sprintf("skip Cannot set charset 'gbk'"));
36 KEY(id)) ENGINE=' . $engine . " DEFAULT CHARSET=gbk")) {
41 var_dump(mysqli_set_charset($link, "gbk"));
/PHP-8.2/ext/mysqlnd/
H A Dmysqlnd_charset.c320 static unsigned int mysqlnd_mbcharlen_gbk(const unsigned int gbk) in mysqlnd_mbcharlen_gbk() argument
322 return (valid_gbk_head(gbk) ? 2 : 1); in mysqlnd_mbcharlen_gbk()

Completed in 13 milliseconds