Lines Matching refs:charset
41 foreach ($charsets as $charset => $collation) {
44 $charset != $not_changed['charset_client'] &&
45 mysqli_query($link, sprintf("SET @@character_set_client = '%s'", $charset)))
49 $charset != $not_changed['charset_connection'] &&
50 mysqli_query($link, sprintf("SET @@character_connection = '%s'", $charset)))
54 $charset != $not_changed['charset_results'] &&
55 mysqli_query($link, sprintf("SET @@character_set_results = '%s'", $charset)))
125 if (!is_object($charset = mysqli_get_charset($link)))
126 printf("[013] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset);
128 if ($charset->charset != $defaults['charset_connection'])
129 printf("[014] Expecting connection charset to be %s got %s\n",
131 $charset->charset);
133 if ($charset->collation != $defaults['collation_connection'])
136 $charset->collation);