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)))
140 if (!is_object($charset = mysqli_get_charset($link)))
141 printf("[013] Expecting object/std_class, got %s/%s\n", gettype($charset), $charset);
143 if ($charset->charset != $defaults['charset_connection'])
144 printf("[014] Expecting connection charset to be %s got %s\n",
146 $charset->charset);
148 if ($charset->collation != $defaults['collation_connection'])
151 $charset->collation);