/php-src/ext/mbstring/tests/ |
H A D | bug66964.phpt | 8 var_dump(mb_convert_variables('utf-8', 'auto', $a)); 9 var_dump(mb_convert_variables('utf-8', 'utf-8', $a)); 16 var_dump(mb_convert_variables('utf-8', 'utf-8', $a), $a); 19 var_dump(mb_convert_variables('utf-8', 'utf-8', $a), $a);
|
H A D | mb_ereg_variation7.phpt | 20 if(mb_regex_encoding('utf-8') == true) { 21 echo "Regex encoding set to utf-8\n"; 23 echo "Could not set regex encoding to utf-8\n"; 63 Regex encoding set to utf-8
|
/php-src/ext/iconv/tests/ |
H A D | bug51250.phpt | 9 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?B?Kg==?= .", $m)); 10 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?Q?*?= .", $m)); 11 var_dump(iconv_mime_decode("Illegal encoded-word: =?utf-8?B?".chr(0xA1)."?= .", $m)); 12 var_dump(iconv_mime_decode("Illegal encoded-word: =?utf-8?Q?".chr(0xA1)."?= .", $m)); 14 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?B?Kg==?= .")); 15 var_dump(iconv_mime_decode("Legal encoded-word: =?utf-8?Q?*?= .")); 16 var_dump(iconv_mime_decode("Illegal encoded-word: =?utf-8?B?".chr(0xA1)."?= .")); 17 var_dump(iconv_mime_decode("Illegal encoded-word: =?utf-8?Q?".chr(0xA1)."?= ."));
|
H A D | bug53891.phpt | 9 'input-charset' => 'utf-8', 10 'output-charset' => 'utf-8', 17 string(54) "subject: =?utf-8?Q?d=20obeybiubrsfqllpdtpge=E2=80=A6?="
|
H A D | translit-utf8.phpt | 14 $utf = implode('', file(__DIR__.'/Quotes.UTF-8.data')); 16 print(iconv("UTF-8", "ISO-8859-1//TRANSLIT", $utf)); 17 print(iconv("UTF-8", "ASCII//TRANSLIT", $utf));
|
H A D | bug53304.phpt | 7 echo iconv_mime_decode('=?utf-8?Q?Nachricht_=c3=bcber_Kontaktformular_www.inexio.net?=', 0, 'UTF-8'… 8 echo iconv_mime_decode('=?utf-8?Q?Nachricht_=C3=BCber_Kontaktformular_www.inexio.net?=', 0, 'UTF-8'…
|
H A D | bug76249.phpt | 11 stream_filter_append($fh, 'convert.iconv.ucs-2/utf-8//IGNORE', STREAM_FILTER_READ, []); 17 Warning: stream_get_contents(): iconv stream filter ("ucs-2"=>"utf%A8//IGNORE"): invalid multibyte …
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_newline.c | 80 uint32_t *lenptr, BOOL utf) in PRIV() 85 if (utf) { GETCHAR(c, ptr); } else c = *ptr; in PRIV() 87 (void)utf; in PRIV() 125 *lenptr = utf? 2 : 1; in PRIV() 170 uint32_t *lenptr, BOOL utf) in PRIV() 176 if (utf) in PRIV() 183 (void)utf; in PRIV() 221 *lenptr = utf? 2 : 1; in PRIV()
|
H A D | pcre2_extuni.c | 61 PCRE2_SPTR end_subject, BOOL utf, int *xcount) in PRIV() 67 (void)utf; in PRIV() 97 PCRE2_SPTR end_subject, BOOL utf, int *xcount) in PRIV() 106 if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } in PRIV() 123 if (utf) BACKCHAR(bptr); in PRIV() 130 if (utf) in PRIV()
|
H A D | pcre2_study.c | 387 if (utf) return -1; in find_minlength() 805 if (utf) in set_table_bit() 820 if (utf || ucp) in set_table_bit() 824 if (utf) in set_table_bit() 1092 if (utf) in set_start_bits() 1363 if (utf) in set_start_bits() 1402 if (utf) in set_start_bits() 1502 if (utf) in set_start_bits() 1539 if (utf) in set_start_bits() 1651 if (utf) in set_start_bits() [all …]
|
H A D | pcre2_auto_possess.c | 337 (void)utf; /* Suppress "unused parameter" compiler warnings */ in get_chr_property_list() 418 if (chr < 128 || (chr < 256 && !utf && !ucp)) in get_chr_property_list() 702 if (!compare_opcodes(next_code, utf, ucp, cb, base_list, base_end, in compare_opcodes() 719 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes() 1095 list_ptr[2] + LINK_SIZE, utf)) return FALSE; in compare_opcodes() 1145 BOOL utf = (cb->external_options & PCRE2_UTF) != 0; in PRIV() local 1158 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV() 1161 if (end != NULL && compare_opcodes(end, utf, ucp, cb, list, end, in PRIV() 1218 end = get_chr_property_list(code, utf, ucp, cb->fcc, list); in PRIV() 1222 compare_opcodes(end, utf, ucp, cb, list, end, &rec_limit)) in PRIV() [all …]
|
H A D | pcre2_xclass.c | 69 PRIV(xclass)(uint32_t c, PCRE2_SPTR data, BOOL utf) in PRIV() 76 utf = TRUE; in PRIV() 107 if (utf) in PRIV() 119 if (utf) in PRIV() 301 (void)utf; /* Avoid compiler warning */ in PRIV()
|
/php-src/ext/dom/tests/ |
H A D | gh12002.phpt | 14 $dom->encoding = make_nonconst('utf-8'); 22 $dom->encoding = make_nonconst('utf-16le'); 33 string(5) "utf-8" 35 string(5) "utf-8" 36 string(8) "utf-16le" 38 string(8) "utf-16le"
|
H A D | DOMNode_replaceChild_basic.phpt | 11 $document->loadXML('<?xml version="1.0" encoding="utf-8"?> 35 <?xml version="1.0" encoding="utf-8"?> 40 <?xml version="1.0" encoding="utf-8"?> 43 <?xml version="1.0" encoding="utf-8"?>
|
H A D | bug49463.phpt | 8 $doc = new DOMDocument('1.0', 'utf-8'); 16 <?xml version="1.0" encoding="utf-8"?>
|
/php-src/ext/standard/tests/directory/ |
H A D | bug74589_utf8.phpt | 10 internal_encoding=utf-8 14 #vim: set fileencoding=utf-8 15 #vim: set encoding=utf-8 18 $item = "bug74589_新建文件夹"; // utf-8 string 42 $item = "bug74589_新建文件夹"; // utf-8 string
|
/php-src/ext/intl/tests/ |
H A D | bug75317.phpt | 7 $utf8 = UConverter::getAliases('utf-8')[0]; 8 $utf16 = UConverter::getAliases('utf-16')[0]; 9 $utf32 = UConverter::getAliases('utf-32')[0]; 22 $c = new UConverter('utf-16', 'latin1'); 27 var_dump($c->setDestinationEncoding('utf-8')); 28 var_dump($c->setSourceEncoding('utf-32'));
|
H A D | uconverter_func_basic.phpt | 7 var_dump(UConverter::transcode("This is an ascii string", 'utf-8', 'latin1')); 9 var_dump(urlencode(UConverter::transcode("Espa\xF1ol", 'utf-8', 'latin1'))); 10 var_dump(urlencode(UConverter::transcode("Stra\xDFa", 'utf-8', 'latin1'))); 12 var_dump(bin2hex(UConverter::transcode("\xE4", 'utf-8', 'koi8-r')));
|
H A D | uconverter_oop_algo.phpt | 7 $c = new UConverter('utf-8', 'latin1'); 11 $c = new UConverter('koi8-r', 'utf-32be');
|
/php-src/ext/standard/tests/strings/ |
H A D | sapi_windows_cp_conv.phpt | 12 bin2hex(sapi_windows_cp_conv('utf-8', 1252, 'äöü')), 14 bin2hex(sapi_windows_cp_conv('utf-8', 'windows-1252', 'äöü')),
|
/php-src/ext/simplexml/tests/ |
H A D | bug39662.phpt | 8 $xml = '<?xml version="1.0" encoding="utf-8" ?> 26 string(%d) "<?xml version="1.0" encoding="utf-8"?>
|
/php-src/ext/xsl/tests/ |
H A D | xsltprocessor_transformToDoc.phpt | 21 <xsl:output method="html" encoding="utf-8" indent="yes"/> 38 $xmldoc = new DOMDocument('1.0', 'utf-8'); 41 $xsldoc = new DOMDocument('1.0', 'utf-8');
|
H A D | xsltprocessor_transformToURI.phpt | 24 <xsl:output method="html" encoding="utf-8" indent="yes"/> 40 $xmldoc = new DOMDocument('1.0', 'utf-8'); 43 $xsldoc = new DOMDocument('1.0', 'utf-8');
|
/php-src/ext/standard/tests/general_functions/ |
H A D | putenv_bug75574_utf8.phpt | 4 internal_encoding=utf-8 8 #vim: set fileencoding=utf-8 9 #vim: set encoding=utf-8
|
/php-src/sapi/cgi/tests/ |
H A D | bug75574_utf8.phpt | 10 #vim: set fileencoding=utf-8 11 #vim: set encoding=utf-8
|