1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 01:18:19 +02:00
Commit Graph

361 Commits

Author SHA1 Message Date
Den V. Tsopa 4f5743582e Added new function mb_guess_encoding, based on symbols rating 2002-08-14 05:41:40 +00:00
Rasmus Lerdorf 3ffe4cb1ff bool not boolean 2002-08-13 04:37:28 +00:00
Marcus Boerger c467129528 move html_entities.c to proper place
#nice to have snaps.php.net
2002-08-04 22:54:24 +00:00
Marcus Boerger 367ca8e2ae -Correct mime_name for HTML-ENTITIES encoding is of cause US-ASCII
-Full list of ASCII aliases
2002-08-04 20:50:53 +00:00
Marcus Boerger 81df625260 -Fix warnings (fixed all?) 2002-08-04 18:59:19 +00:00
Marcus Boerger c4e66f4192 -Add new file to windows build 2002-08-04 18:33:28 +00:00
Marcus Boerger 77abd9d55a -New encoding/decoding HTML-ENTITIES.
#This allows to enforce named and numeric entities in output.
#Example:CMS that reads UTF8 or ISO-8859-1 but exports HTML in ASCII.
#Using mbstring.http_output=HTML-ENTITIES users receive entities which
#can displayed correctly independant of any brwoser side encoding.
@New mbstring encoding/decoding HTML-ENTITIES. (marcus)
2002-08-04 14:20:11 +00:00
Marcus Boerger f2f70b5dda -Allow double quotes for encoding lists (if used in ini for example)
-New parameter 'L' for mb_http_input() to retieve input encoding as
 comma separated string.
@New parameter 'L' for mb_http_input() to retrieve input encoding as
 comma separated string. (marcus)
2002-08-04 14:10:58 +00:00
Andi Gutmans 4b492c4deb - Fix build on Windows. Also please don't use Java style opening function
- bracket indentation.
2002-08-03 09:48:34 +00:00
Marcus Boerger de8c36dcaa -use const to clarify code
-fix tsrmls build (therefore rfc1867.c)
2002-08-02 10:22:31 +00:00
Rui Hirokawa 7527bf0c58 made sapi_register_treat_data() to support multibyte input encoding translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data. 2002-08-02 06:53:48 +00:00
Zeev Suraski bc82be4284 Fix crash 2002-07-31 14:41:06 +00:00
Yasuo Ohgaki 3e7c884b1c Fixed query string handling. Now some.php?a&b=1;c works.
# arg_separator.output can be multile chars
2002-07-28 09:42:15 +00:00
Rui Hirokawa fbbeaec630 fixed: output encoding translation by mb_output_handler() in ext/mbstring was not usable when Content-Type is set by header(). 2002-07-27 13:58:16 +00:00
foobar e20b22fbc3 unbreak the shared build..again 2002-07-17 06:01:37 +00:00
Yasuo Ohgaki 7eecae7527 Changed configure option order to make it clear option dependecy to users. 2002-07-17 00:17:43 +00:00
Yasuo Ohgaki dc794edb1a Disable input encoding tranlation by default. 2002-07-17 00:11:32 +00:00
Edin Kadribasic 50ca75a0f6 Fix bug #16985 (wrong count of GET/POST variables). 2002-07-15 17:48:54 +00:00
foobar 7259893862 These options are all enabled by default. (why?) 2002-07-14 00:12:13 +00:00
foobar b87ac98701 These options are all enabled by default. (why?) 2002-07-14 00:11:44 +00:00
Sebastian Bergmann bec1633335 Remove unused variables. 2002-07-12 04:57:14 +00:00
Rui Hirokawa 555ca8eedd added mbstring.language option in ext/mbstring. 2002-07-11 15:45:35 +00:00
Rui Hirokawa ead78e9125 fixed shift_jis character corruption including 0x5c as second byte following a slash on uploaded filename. 2002-07-05 15:06:39 +00:00
Frank M. Kromann bda7548a00 Removed unneeded check for MBSTR_ENC_TRANS 2002-07-03 18:45:34 +00:00
Frank M. Kromann 9a743eef77 Adding _RU files to project 2002-07-03 18:24:14 +00:00
Frank M. Kromann 0818410f7c Fixing ZTS build 2002-07-03 18:23:55 +00:00
Rui Hirokawa bb21c40738 fixed shift_jis character corruption including 0x5c as second byte on uploaded filename. 2002-07-03 13:36:19 +00:00
Den V. Tsopa f26fbd2bd5 small fix in preprocessor directive 2002-06-22 08:01:57 +00:00
Marcus Boerger 010e5e60ac correct handling/generating of php_mbstr_default_identify_list 2002-06-19 21:55:42 +00:00
foobar cff4039c47 Fixed bug: #17137, test pass still 2002-06-18 00:56:11 +00:00
foobar 49523ba7d1 Changed the configure option to be --enable/disable 2002-06-06 12:44:28 +00:00
Frank M. Kromann 426b47837f Makring function declarations match implementations (ZTS compilation) 2002-06-01 05:45:25 +00:00
foobar 73ab5708b4 Fixed typo.. 2002-05-31 23:20:04 +00:00
Den V. Tsopa 509df14ff4 Fixes some dummy errors (again). 2002-05-30 10:10:16 +00:00
Den V. Tsopa 1da8768cae Added GB2312 alias for CN-GB 2002-05-29 09:15:28 +00:00
Den V. Tsopa 9cd5bf77a7 @Fixed some dummy errors. (dets) 2002-05-29 08:33:23 +00:00
Rui Hirokawa d3012238bc reverted my patch. 2002-05-24 22:30:24 +00:00
Rui Hirokawa ee480a7ec8 reverted patch to support iso2022kr. 2002-05-24 22:28:42 +00:00
Sebastian Bergmann 4405b313c5 ZTS fixes. 2002-05-21 07:10:26 +00:00
Den V. Tsopa 4974e6073e Added russian codepages (koi8-r,cp1251,cp866) support. 2002-05-21 07:00:34 +00:00
Preston L. Bannister 0b70f9e884 Range check arguments to mb_strcut().
Test ext/mbstring/013.phpt causes a hard failure w/o this.
2002-05-16 12:31:05 +00:00
Preston L. Bannister 9d3ed920b5 Proper declaration to suppress compiler warning. 2002-05-16 12:07:11 +00:00
Rui Hirokawa 5f8009a7ea added ISO-2022-KR support in mbstring. 2002-05-15 12:13:56 +00:00
Rui Hirokawa e0a10acf8f fixed a initialization bug in euc-tw. 2002-05-14 21:42:46 +00:00
Sascha Schumann b3de60dbf0 Fix this again.
If you are unsure whether enable or with shall be used, please
inquire on the mailing list.

WITH is solely for the purpose of pointing to paths and other external
entities.

Note that the comment has always mentioned "--disable-mbstring" which
clearly refers to enable and not with.
2002-05-12 14:55:25 +00:00
Rui Hirokawa 767fa10a92 added chinese HZ encoding support. fixed ascii area character conversion was not work in euc-cn and euc-kr. 2002-05-12 13:06:13 +00:00
Rui Hirokawa b3690bbe19 fixed to support --with-mbsting=LANG. 2002-05-12 00:26:43 +00:00
Rui Hirokawa f30b722f14 Added conversion support from script character encoding to internal character encoding. This feature is very useful for japanese who uses Shift_JIS encoding because some of characters in Shift_JIS are including '0x5c' and it causes some troubles on Zend parser. This patch is made by Masaki Fujimoto. 2002-05-08 12:33:44 +00:00
Rui Hirokawa b7321edb84 bug fixed in unicode -> cp1252 table. 2002-05-05 11:42:18 +00:00
Rui Hirokawa 39c951ed88 added missing areas on Unicode->CP936 conversion table. added an alias CP932 on sjis-win. 2002-05-05 02:22:36 +00:00