Home
last modified time | relevance | path

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

/PHP-7.1/ext/mysqli/tests/
H A D065.phpt38 if ($res = $mysql->query("SHOW CHARACTER SET LIKE 'gbk'")) {
40 if ($mysql->set_charset("gbk")) {
41 /* nothing should be escaped, it's a valid gbk character */
46 if ('gbk' !== ($tmp = $mysql->character_set_name()))
47 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
18 if (!mysqli_set_charset($link, 'gbk'))
19 die(sprintf("skip Cannot set charset 'gbk'"));
40 KEY(id)) ENGINE=' . $engine . " DEFAULT CHARSET=gbk")) {
45 var_dump(mysqli_set_charset($link, "gbk"));
/PHP-7.1/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 8 milliseconds