Home
last modified time | relevance | path

Searched refs:utf (Results 1 – 25 of 183) sorted by relevance

12345678

/PHP-8.2/ext/mbstring/tests/
H A Dbug66964.phpt8 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 Dmb_ereg_variation7.phpt20 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-8.2/ext/iconv/tests/
H A Dbug51250.phpt9 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 Dbug53891.phpt9 'input-charset' => 'utf-8',
10 'output-charset' => 'utf-8',
17 string(54) "subject: =?utf-8?Q?d=20obeybiubrsfqllpdtpge=E2=80=A6?="
H A Dtranslit-utf8.phpt14 $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 Dbug53304.phpt7 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 Dbug76249.phpt11 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-8.2/ext/pcre/pcre2lib/
H A Dpcre2_newline.c80 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 Dpcre2_extuni.c61 PCRE2_SPTR end_subject, BOOL utf, int *xcount) in PRIV()
67 (void)utf; in PRIV()
93 PCRE2_SPTR end_subject, BOOL utf, int *xcount) in PRIV()
101 if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } in PRIV()
112 if (utf) BACKCHAR(bptr); in PRIV()
119 if (utf) in PRIV()
H A Dpcre2_study.c384 if (utf) return -1; in find_minlength()
802 if (utf) in set_table_bit()
817 if (utf || ucp) in set_table_bit()
821 if (utf) in set_table_bit()
1087 if (utf) in set_start_bits()
1273 if (utf) in set_start_bits()
1312 if (utf) in set_start_bits()
1412 if (utf) in set_start_bits()
1449 if (utf) in set_start_bits()
1561 if (utf) in set_start_bits()
[all …]
H A Dpcre2_xclass.c69 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()
282 (void)utf; /* Avoid compiler warning */ in PRIV()
H A Dpcre2_auto_possess.c337 (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()
696 if (!compare_opcodes(next_code, utf, ucp, cb, base_list, base_end, in compare_opcodes()
713 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes()
1089 list_ptr[2] + LINK_SIZE, utf)) return FALSE; in compare_opcodes()
1139 BOOL utf = (cb->external_options & PCRE2_UTF) != 0; in PRIV() local
1152 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV()
1155 if (end != NULL && compare_opcodes(end, utf, ucp, cb, list, end, in PRIV()
1212 end = get_chr_property_list(code, utf, ucp, cb->fcc, list); in PRIV()
1216 compare_opcodes(end, utf, ucp, cb, list, end, &rec_limit)) in PRIV()
[all …]
/PHP-8.2/ext/dom/tests/
H A Dgh12002.phpt14 $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 DDOMNode_replaceChild_basic.phpt11 $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 Dbug49463.phpt8 $doc = new DOMDocument('1.0', 'utf-8');
16 <?xml version="1.0" encoding="utf-8"?>
/PHP-8.2/ext/standard/tests/directory/
H A Dbug74589_utf8.phpt10 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-8.2/ext/intl/tests/
H A Dbug75317.phpt7 $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 Duconverter_func_basic.phpt7 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 Duconverter_oop_algo.phpt7 $c = new UConverter('utf-8', 'latin1');
11 $c = new UConverter('koi8-r', 'utf-32be');
/PHP-8.2/ext/standard/tests/strings/
H A Dsapi_windows_cp_conv.phpt12 bin2hex(sapi_windows_cp_conv('utf-8', 1252, 'äöü')),
14 bin2hex(sapi_windows_cp_conv('utf-8', 'windows-1252', 'äöü')),
/PHP-8.2/ext/simplexml/tests/
H A Dbug39662.phpt8 $xml = '<?xml version="1.0" encoding="utf-8" ?>
26 string(%d) "<?xml version="1.0" encoding="utf-8"?>
/PHP-8.2/ext/standard/tests/general_functions/
H A Dputenv_bug75574_utf8.phpt4 internal_encoding=utf-8
8 #vim: set fileencoding=utf-8
9 #vim: set encoding=utf-8
/PHP-8.2/ext/xsl/tests/
H A Dxsltprocessor_transformToDoc.phpt21 <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 Dxsltprocessor_transformToURI.phpt24 <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-8.2/sapi/cgi/tests/
H A Dbug75574_utf8.phpt10 #vim: set fileencoding=utf-8
11 #vim: set encoding=utf-8

Completed in 37 milliseconds

12345678