Lines Matching refs:charset
56 foreach ($charsets as $charset => $collation) {
59 $charset != $not_changed['charset_client'] &&
60 mysqli_query($link, sprintf("SET @@character_set_client = '%s'", $charset)))
64 $charset != $not_changed['charset_connection'] &&
65 mysqli_query($link, sprintf("SET @@character_connection = '%s'", $charset)))
69 $charset != $not_changed['charset_results'] &&
70 mysqli_query($link, sprintf("SET @@character_set_results = '%s'", $charset)))
148 if (!is_object($charset = mysqli_get_charset($link)))
149 printf("[013] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset);
151 if ($charset->charset != $defaults['charset_connection'])
152 printf("[014] Expecting connection charset to be %s got %s\n",
154 $charset->charset);
156 if ($charset->collation != $defaults['collation_connection'])
159 $charset->collation);