/php-src/ext/iconv/ |
H A D | config.w32 | 3 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 to 1 if the PHP extension 'iconv' is available."); 14 AC_DEFINE("ICONV_ALIASED_LIBICONV", 1, "Define to 1 if 'iconv()' is aliased to 'libiconv()'."); 15 AC_DEFINE("PHP_ICONV_IMPL", "\"libiconv\"", "The iconv implementation."); 18 ADD_DEF_FILE("ext\\iconv\\php_iconv.def"); 20 PHP_INSTALL_HEADERS("ext/iconv", "php_iconv.h"); [all …]
|
H A D | config.m4 | 1 PHP_ARG_WITH([iconv], 2 [for iconv support], 3 [AS_HELP_STRING([[--without-iconv[=DIR]]], 4 [Exclude iconv support])], 9 [AC_MSG_FAILURE([The iconv not found.])]) 28 dnl BSD iconv by Konstantin Chuguev. 58 AC_DEFINE([PHP_ICONV_IMPL], ["IBM iconv"]) 63 #include <iconv.h> 88 #include <iconv.h> 120 PHP_NEW_EXTENSION([iconv], [all …]
|
H A D | php_iconv.h | 44 ZEND_BEGIN_MODULE_GLOBALS(iconv) 48 ZEND_END_MODULE_GLOBALS(iconv) 50 #define ICONVG(v) ZEND_MODULE_GLOBALS_ACCESSOR(iconv, v)
|
/php-src/ext/iconv/tests/ |
H A D | iconv_default_charset.phpt | 4 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 D | iconv_ini_encoding.phpt | 4 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 D | bug48147.phpt | 2 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 D | iconv001.phpt | 2 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 D | iconv-charset-length-cve-2007-4840.phpt | 2 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 D | iconv_basic.phpt | 2 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 D | bug74230.phpt | 2 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 D | iconv002.phpt | 2 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 D | bug76249.phpt | 2 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 D | bug52211.phpt | 2 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 D | iconv_stream_filter_delimiter.phpt | 2 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 D | iconv003.phpt | 2 iconv() test 3 4 iconv 8 if (@iconv('blah', 'blah', 'blah') != '') {
|
H A D | iconv_stream_filter.phpt | 2 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 D | translit-utf8.phpt | 4 iconv 16 print(iconv("UTF-8", "ISO-8859-1//TRANSLIT", $utf)); 17 print(iconv("UTF-8", "ASCII//TRANSLIT", $utf));
|
H A D | iconv_basic_001-win32.phpt | 2 Test the basics to function iconv. 6 iconv 15 $string_out = iconv($in_charset, $out_charset, $string_to_translate);
|
H A D | iconv_basic_001.phpt | 2 Test the basics to function iconv. 6 iconv 20 $string_out = iconv($in_charset, $out_charset, $string_to_translate);
|
H A D | ob_iconv_handler-charset-length-cve-2007-4840.phpt | 4 iconv 9 ini_set("iconv.output_encoding", str_repeat("a", 9000000));
|
H A D | iconv_substr.phpt | 4 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 D | bug78069.phpt | 2 Bug #78069 (Out-of-bounds read in iconv.c:_php_iconv_mime_decode() due to integer overflow) 4 iconv
|
H A D | translit-failure.phpt | 4 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-src/ext/dom/tests/modern/html/encoding/ |
H A D | HTMLDocument_override_encoding_incompatible_charset.phpt | 4 iconv 9 iconv( 28 var_dump(iconv('UTF-8', 'ISO-8859-1', $doc->getElementsByTagName('title')->item(0)->textContent)); 29 var_dump(iconv('UTF-8', 'ISO-8859-1', $doc->getElementsByTagName('body')->item(0)->textContent));
|
/php-src/ext/standard/tests/file/ |
H A D | bug43008.phpt | 4 iconv 11 . urlencode("convert.iconv.ISO-8859-15/UTF-8") 14 . '|' . urlencode("convert.iconv.UTF-8/ISO-8859-15")
|