Home
last modified time | relevance | path

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

/PHP-7.3/ext/mysqli/tests/
H A D065.phpt35 if ($res = $mysql->query("SHOW CHARACTER SET LIKE 'gbk'")) {
37 if ($mysql->set_charset("gbk")) {
38 /* nothing should be escaped, it's a valid gbk character */
43 if ('gbk' !== ($tmp = $mysql->character_set_name()))
44 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-7.3/ext/mysqlnd/
H A Dmysqlnd_charset.c322 static unsigned int mysqlnd_mbcharlen_gbk(unsigned int gbk) in mysqlnd_mbcharlen_gbk() argument
324 return (valid_gbk_head(gbk) ? 2 : 1); in mysqlnd_mbcharlen_gbk()

Completed in 7 milliseconds