Home
last modified time | relevance | path

Searched refs:iconv (Results 1 – 25 of 119) sorted by relevance

12345

/PHP-8.2/ext/iconv/
H A Dconfig.w323 ARG_WITH("iconv", "iconv support", "yes");
6 …if ((CHECK_LIB("libiconv_a.lib", "iconv", PHP_ICONV) || CHECK_LIB("libiconv.lib", "iconv", PHP_ICO…
7 CHECK_LIB("iconv_a.lib", "iconv", PHP_ICONV) || CHECK_LIB("iconv.lib", "iconv", PHP_ICONV)) &&
8 CHECK_HEADER_ADD_INCLUDE("iconv.h", "CFLAGS_ICONV", PHP_ICONV)) {
10 EXTENSION("iconv", "iconv.c", PHP_ICONV_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
12 AC_DEFINE("HAVE_ICONV", 1, "Define if iconv extension is enabled");
14 AC_DEFINE("ICONV_ALIASED_LIBICONV", 1, "The iconv function is called iconv() in libiconv");
15 AC_DEFINE("PHP_ICONV_IMPL", "\"libiconv\"", "Which iconv implementation to use");
18 ADD_DEF_FILE("ext\\iconv\\php_iconv.def");
20 PHP_INSTALL_HEADERS("", "ext/iconv");
[all …]
H A Dconfig.m41 PHP_ARG_WITH([iconv],
2 [for iconv support],
3 [AS_HELP_STRING([[--without-iconv[=DIR]]],
4 [Exclude iconv support])],
21 AC_MSG_CHECKING([if iconv is glibc's])
32 #include <iconv.h>
75 AC_DEFINE([PHP_ICONV_IMPL],["BSD iconv"],[Which iconv implementation to use])
84 AC_DEFINE([PHP_ICONV_IMPL],["IBM iconv"],[Which iconv implementation to use])
90 #include <iconv.h>
117 #include <iconv.h>
[all …]
H A Dphp_iconv.h44 ZEND_BEGIN_MODULE_GLOBALS(iconv)
48 ZEND_END_MODULE_GLOBALS(iconv)
50 #define ICONVG(v) ZEND_MODULE_GLOBALS_ACCESSOR(iconv, v)
/PHP-8.2/ext/iconv/tests/
H A Diconv_default_charset.phpt4 iconv
11 iconv.internal_encoding=
12 iconv.input_encoding=
13 iconv.output_encoding=
23 ini_get('iconv.internal_encoding'),
24 ini_get('iconv.input_encoding'),
25 ini_get('iconv.output_encoding'));
35 ini_get('iconv.internal_encoding'),
36 ini_get('iconv.input_encoding'),
37 ini_get('iconv.output_encoding'));
[all …]
H A Diconv_ini_encoding.phpt4 iconv
11 iconv.internal_encoding=ISO-8859-1
12 iconv.http_input=ISO-8859-1
13 iconv.http_output=ISO-8859-1
22 var_dump(ini_get('iconv.internal_encoding'));
23 var_dump(ini_get('iconv.input_encoding'));
24 var_dump(ini_get('iconv.output_encoding'));
32 var_dump(ini_set('iconv.input_encoding', 'UTF-8'));
41 var_dump(ini_get('iconv.internal_encoding'));
42 var_dump(ini_get('iconv.input_encoding'));
[all …]
H A Dbug48147.phpt2 Bug #48147 (iconv with //IGNORE cuts the string)
4 iconv
8 var_dump(iconv("UTF-8", "UTF-8", $text));
9 var_dump(urlencode(iconv("UTF-8", "UTF-8//IGNORE", $text)));
11 var_dump(urlencode(iconv("UTF-8", "UTF-8//IGNORE", "\xC3")));
13 var_dump(urlencode(iconv("UTF-8", "UTF-8//IGNORE", "\xC3\xC3\xC3\xB8aa")));
15 var_dump(urlencode(iconv("UTF-8", "UTF-8//IGNORE", "aa\xC3\xC3\xC3")));
18 Notice: iconv(): Detected an illegal character in input string in %s on line %d
22 Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d
26 Notice: iconv(): Detected an incomplete multibyte character in input string in %s on line %d
H A Diconv001.phpt2 iconv() test 1
4 iconv
9 echo "iconv extension is available\n";
12 var_dump("UTF-8: ".iconv( "ISO-8859-1", "UTF-8", $test ) );
15 iconv extension is available
H A Diconv-charset-length-cve-2007-4840.phpt2 iconv() charset parameter length checks (CVE-2007-4840)
4 iconv
8 var_dump(iconv($a, "b", "test"));
9 var_dump(iconv("x", $a, "test"));
12 Warning: iconv(): Encoding parameter exceeds the maximum allowed length of 64 characters in %s on l…
15 Warning: iconv(): Encoding parameter exceeds the maximum allowed length of 64 characters in %s on l…
H A Diconv_basic.phpt2 Test iconv() function : basic functionality
4 iconv
8 * Test basic functionality of iconv()
11 echo "*** Testing iconv() : basic functionality ***\n";
22 var_dump(bin2hex(iconv('SJIS', 'EUC-JP', $sjis_string )));
23 var_dump(bin2hex(iconv('UTF-8', 'EUC-JP', $utf8_string)));
29 var_dump(bin2hex(iconv('EUC-JP', 'SJIS', $euc_jp_string)));
30 var_dump(bin2hex(iconv('UTF-8', 'SJIS', $utf8_string)));
36 var_dump(bin2hex(iconv('SJIS', 'UTF-8', $sjis_string)));
37 var_dump(bin2hex(iconv('EUC-JP', 'UTF-8', $euc_jp_string)));
[all …]
H A Dbug74230.phpt2 Bug #74230 iconv fails to fail on surrogates
4 iconv
12 @\iconv('UTF-8', 'UTF-8', $high) === false,
13 @\iconv('UTF-8', 'UTF-8', $low) === false,
14 @\iconv('UTF-8', 'UTF-8', $pair) === false
H A Diconv002.phpt2 iconv() test 2 (UCS4BE to ASCII)
4 iconv
7 if (@iconv("ascii","UCS-4LE", "abcd") == '') {
21 $s = unpack("V*", iconv("ascii","UCS-4LE", "abcd"));
25 $q = iconv("UCS-4BE", "ascii", $s);
H A Dbug76249.phpt2 Bug #76249 (stream filter convert.iconv leads to infinite loop on invalid sequence)
4 iconv
10 if (false === @stream_filter_append($fh, 'convert.iconv.ucs-2/utf8//IGNORE', STREAM_FILTER_READ, []…
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 …
H A Dbug52211.phpt2 Bug #52211 (iconv() returns part of string on error)
4 iconv
9 $str_iconv = iconv('CP850', 'ISO-8859-1', $str );
14 Notice: iconv(): Detected an illegal character in input string in %s on line %d
H A Diconv_stream_filter_delimiter.phpt2 iconv stream filter
4 iconv
6 iconv.internal_charset=iso-8859-1
16 stream_filter_append($fp, 'convert.iconv.ISO-2022-JP/EUC-JP');
23 stream_filter_append($fp, 'convert.iconv.ISO-2022-JP.EUC-JP');
30 stream_filter_append($fp, 'convert.iconv.ISO-2022-JP\0EUC-JP');
47 Warning: stream_filter_append(): Unable to create or locate filter "convert.iconv.ISO-2022-JP\0EUC-…
H A Diconv003.phpt2 iconv() test 3
4 iconv
8 if (@iconv('blah', 'blah', 'blah') != '') {
H A Diconv_stream_filter.phpt2 iconv stream filter
4 iconv
6 iconv.internal_charset=iso-8859-1
16 stream_filter_append($fp, 'convert.iconv.ISO-2022-JP/EUC-JP');
24 stream_filter_append($fp, 'convert.iconv.ISO-2022-JP/EUC-JP');
H A Dtranslit-utf8.phpt4 iconv
16 print(iconv("UTF-8", "ISO-8859-1//TRANSLIT", $utf));
17 print(iconv("UTF-8", "ASCII//TRANSLIT", $utf));
H A Diconv_basic_001-win32.phpt2 Test the basics to function iconv.
6 iconv
15 $string_out = iconv($in_charset, $out_charset, $string_to_translate);
H A Diconv_basic_001.phpt2 Test the basics to function iconv.
6 iconv
20 $string_out = iconv($in_charset, $out_charset, $string_to_translate);
H A Dob_iconv_handler-charset-length-cve-2007-4840.phpt4 iconv
9 ini_set("iconv.output_encoding", str_repeat("a", 9000000));
H A Diconv_substr.phpt4 iconv
6 iconv.internal_charset=ISO-8859-1
41 var_dump(iconv("ISO-2022-JP", "EUC-JP", iconv_substr(iconv("EUC-JP", "ISO-2022-JP", "����ˤ��� ISO-2…
H A Dbug78069.phpt2 Bug #78069 (Out-of-bounds read in iconv.c:_php_iconv_mime_decode() due to integer overflow)
4 iconv
H A Dtranslit-failure.phpt4 iconv
21 * The bug (fixed in libiconv 1.8) was confirmed that iconv goes into an
28 var_dump(iconv("ISO-8859-1", "ASCII//TRANSLIT", $test));
/PHP-8.2/ext/standard/tests/file/
H A Dbug43008.phpt4 iconv
11 . urlencode("convert.iconv.ISO-8859-15/UTF-8")
14 . '|' . urlencode("convert.iconv.UTF-8/ISO-8859-15")
/PHP-8.2/ext/libxml/
H A Dconfig.w327 CHECK_LIB("libiconv_a.lib;iconv_a.lib;libiconv.lib;iconv.lib", "libxml") &&
10 ADD_EXTENSION_DEP('libxml', 'iconv')) {
20 WARNING("libxml support can't be enabled, iconv or libxml are missing")

Completed in 31 milliseconds

12345