Home
last modified time | relevance | path

Searched refs:charset (Results 1 – 25 of 278) sorted by last modified time

12345678910>>...12

/php-src/ext/soap/
H A Dsoap.c3432 doc->charset = XML_CHAR_ENCODING_UTF8;
3807 doc->charset = XML_CHAR_ENCODING_UTF8;
/php-src/ext/libxml/
H A Dlibxml.c507 zend_string *charset = php_libxml_sniff_charset_from_stream(s); in php_libxml_input_buffer_create_filename() local
508 if (charset != NULL) { in php_libxml_input_buffer_create_filename()
509 enc = xmlParseCharEncoding(ZSTR_VAL(charset)); in php_libxml_input_buffer_create_filename()
513 zend_string_release_ex(charset, false); in php_libxml_input_buffer_create_filename()
/php-src/main/
H A DSAPI.c303 char *mimetype, *charset, *content_type; in get_default_content_type() local
314 charset = SG(default_charset); in get_default_content_type()
317 charset = SAPI_DEFAULT_CHARSET; in get_default_content_type()
321 if (*charset && strncasecmp(mimetype, "text/", 5) == 0) { in get_default_content_type()
329 memcpy(p, charset, charset_len + 1); in get_default_content_type()
369 char *charset, *newtype; in sapi_apply_default_charset() local
371 charset = SG(default_charset) ? SG(default_charset) : SAPI_DEFAULT_CHARSET; in sapi_apply_default_charset()
374 if (*charset && strncmp(*mimetype, "text/", 5) == 0 && strstr(*mimetype, "charset=") == NULL) { in sapi_apply_default_charset()
375 newlen = len + (sizeof(";charset=")-1) + strlen(charset); in sapi_apply_default_charset()
379 strlcat(newtype, charset, newlen + 1); in sapi_apply_default_charset()
/php-src/ext/standard/
H A Darray.c1791 static const uint32_t charset[8] = { local
1810 if (UNEXPECTED(!ZEND_BIT_TEST(charset, ch))) {
/php-src/ext/filter/
H A Dfilter.c241 …ter(zval *value, zend_long filter, zend_long flags, zval *options, char* charset, bool copy) /* {{… in php_zval_filter() argument
273 filter_func.function(value, flags, options, charset); in php_zval_filter()
366 …ive(zval *value, zend_long filter, zend_long flags, zval *options, char *charset, bool copy) /* {{… in php_zval_filter_recursive() argument
380 php_zval_filter_recursive(element, filter, flags, options, charset, copy); in php_zval_filter_recursive()
382 php_zval_filter(element, filter, flags, options, charset, copy); in php_zval_filter_recursive()
387 php_zval_filter(value, filter, flags, options, charset, copy); in php_zval_filter_recursive()
463 char *charset = NULL; in php_filter_call() local
511 php_zval_filter_recursive(filtered, filter, filter_flags, options, charset, copy); in php_filter_call()
524 php_zval_filter(filtered, filter, filter_flags, options, charset, copy); in php_filter_call()
/php-src/ext/mbstring/
H A Dmbstring.c1584 const char *charset = encoding->mime_name; in PHP_FUNCTION() local
1585 if (charset) { in PHP_FUNCTION()
4493 char *charset = NULL; in PHP_FUNCTION() local
4509 charset = php_strtok_r(NULL, "= \"", &tmp); in PHP_FUNCTION()
4510 if (charset != NULL) { in PHP_FUNCTION()
4511 _tran_cs = mbfl_name2encoding(charset); in PHP_FUNCTION()
6436 if (!charset) { in PHP_FUNCTION()
6438 …} else if (charset->mime_name == NULL || charset->mime_name[0] == '\0' || charset == &mbfl_encodin… in PHP_FUNCTION()
6510 unsigned char *charset = p; in mime_header_decode_encoded_word() local
6511 unsigned char *charset_end = memchr(charset, '?', e - charset); in mime_header_decode_encoded_word()
[all …]
H A Dmbstring.stub.php163 function mb_encode_mimeheader(string $string, ?string $charset = null, ?string $transfer_encoding =… argument
H A Dmbstring_arginfo.h150 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, charset, IS_STRING, 1, "null")
/php-src/ext/iconv/
H A Diconv.c1792 const char *charset = NULL; in PHP_FUNCTION() local
1805 if (charset == NULL) { in PHP_FUNCTION()
1825 const char *charset = NULL; in PHP_FUNCTION() local
1841 if (charset == NULL) { in PHP_FUNCTION()
1866 const char *charset = NULL; in PHP_FUNCTION() local
1882 if (charset == NULL) { in PHP_FUNCTION()
1924 const char *charset = NULL; in PHP_FUNCTION() local
1943 if (charset == NULL) { in PHP_FUNCTION()
2079 if (charset == NULL) { in PHP_FUNCTION()
2116 if (charset == NULL) { in PHP_FUNCTION()
[all …]
/php-src/ext/dom/
H A Dphp_dom.stub.php1521 public string $charset; variable in DOM\\Document
H A Dhtml_document.c1004 zend_string *charset = php_libxml_sniff_charset_from_stream(stream); in PHP_METHOD() local
1005 if (charset != NULL) { in PHP_METHOD()
1007 (const lxb_char_t *) ZSTR_VAL(charset), in PHP_METHOD()
1008 ZSTR_LEN(charset) in PHP_METHOD()
1019 zend_string_release_ex(charset, false); in PHP_METHOD()
/php-src/ext/mbstring/tests/
H A Dmb_encode_mimeheader_basic4.phpt185 mb_encode_mimeheader(): Argument #2 ($charset) "Quoted-Printable" cannot be used for MIME header en…
/php-src/ext/mysqli/
H A Dmysqli_nonapi.c977 cs = mysql->mysql->data->charset;
H A Dmysqli_arginfo.h277 ZEND_ARG_TYPE_INFO(0, charset, IS_STRING, 0)
550 ZEND_ARG_TYPE_INFO(0, charset, IS_STRING, 0)
H A Dmysqli.stub.php972 public function set_charset(string $charset): bool {}
1576 function mysqli_set_charset(mysqli $mysql, string $charset): bool {}
/php-src/ext/mysqlnd/
H A Dmysqlnd_connection.c304 conn->charset = NULL; in MYSQLND_METHOD()
933 ret = mysqlnd_cset_escape_quotes(conn->charset, newstr, escapestr, escapestr_len);
935 ret = mysqlnd_cset_escape_slashes(conn->charset, newstr, escapestr, escapestr_len);
1012 const MYSQLND_CHARSET * const charset = mysqlnd_find_charset_name(csname); local
1017 if (!charset) {
1028 conn->charset = charset;
1246 return conn->charset->name;
/php-src/
H A Dphp.ini-development729 ; https://php.net/default-charset
H A Dphp.ini-production731 ; https://php.net/default-charset
/php-src/ext/dom/tests/modern/xml/
H A DXMLDocument_fromString_04.phpt13 var_dump($dom->charset);
H A DXMLDocument_node_ownerDocument_for_XML.phpt33 ["charset"]=>
H A DXMLDocument_createFromFile_override_encoding.phpt17 var_dump($dom->charset);
22 var_dump($dom->charset);
H A DXMLDocument_createFromString_override_encoding.phpt17 var_dump($dom->charset);
22 var_dump($dom->charset);
H A DXMLDocument_debug.phpt30 ["charset"]=>
H A DXMLDocument_fromEmptyDocument_02.phpt30 ["charset"]=>
/php-src/ext/dom/tests/modern/html/encoding/
H A DHTMLDocument_encoding_edge_case_07.phpt9 $header = "<!doctype html><html><head><meta charset=\"gb18030\"></head><body>";
14 var_dump($dom->charset);
15 $dom->charset = "UTF-8";
21 string(4115) "<!DOCTYPE html><html><head><meta charset="gb18030"></head><body>AAAAAAAAAAAAAAAAAAAAA…

Completed in 148 milliseconds

12345678910>>...12