Wez Furlong
14e3bbd0ca
MFH: add missing break
2004-07-13 17:15:13 +00:00
Derick Rethans
19db79ff1d
- Fix for bug #28042 (greek letters in html to entitity mapping not correct)
2004-04-17 23:07:27 +00:00
Ilia Alshanetsky
1a5342e468
MFH: Fixed bug #27505 (htmlentities() does not handle BIG5 correctly).
2004-03-06 18:35:53 +00:00
Moriyoshi Koizumi
ab2ba0f49f
Fixed bug #25707 (html_entity_decode over-decodes <)
...
# note: not MFH stuff
2003-10-02 07:00:56 +00:00
Moriyoshi Koizumi
a678dd0832
MFH(r-1.84): added "€" support for htmlentities() and html_entity_decode()
2003-05-08 15:44:32 +00:00
Moriyoshi Koizumi
314d0c288f
MFH(r-1.81): added links to HTML entity resources
2003-05-05 19:51:16 +00:00
Moriyoshi Koizumi
9d0951f2d7
MFH(r-1.80): fixed bug #23449
2003-05-02 11:01:00 +00:00
David Hill
8f7009f7f2
minor compiler incompatability fixes
2003-04-24 18:25:47 +00:00
Rasmus Lerdorf
9a57fc8cab
&039; which is a single-quote may also come in as &39; I see no reason
...
not to handle both in html_entity_decode()
2003-04-22 20:44:55 +00:00
Moriyoshi Koizumi
f8ff0d2cb4
MFH: fixed bug #22834 (compile failure due to ugly implicit casts)
2003-03-24 21:22:57 +00:00
Moriyoshi Koizumi
5945ba1c6d
MFH(r-1.76): added koi8-r, cp866, and cp1251 support for htmlentities()
...
Patch by Antony Dovgal <tony2001 at phpclub dot net>
2003-03-24 19:15:16 +00:00
David Hill
45a1a3037a
64-bit correction to variables passed to zend_parse_parameters
...
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-07 13:42:30 +00:00
Moriyoshi Koizumi
4308ba9e42
MFH(r1.72): int / long change
...
Fixed bug #22301 (htmlspecialchars crashes on Tru64)
2003-02-25 18:51:21 +00:00
Ilia Alshanetsky
c4fc154089
MFH
2003-01-02 19:50:37 +00:00
Sebastian Bergmann
ec46829b38
MFH: Bump year.
2002-12-31 16:37:36 +00:00
Ilia Alshanetsky
0314da12d0
MFH
2002-12-12 14:52:09 +00:00
Moriyoshi Koizumi
21f011822d
MFH: Fixed bug #20934 (htmlspecialchars returns latin1 from UTF-8)
2002-12-12 13:27:17 +00:00
Sebastian Bergmann
f6534cb075
MFH
2002-11-16 08:32:11 +00:00
Moriyoshi Koizumi
f48a7e5f78
MFH
2002-11-15 16:29:03 +00:00
Moriyoshi Koizumi
f300bdce82
Added support for windows code pages.
2002-11-11 13:31:08 +00:00
Moriyoshi Koizumi
488255ce54
WS
2002-11-11 13:28:34 +00:00
Moriyoshi Koizumi
f498b68c05
WS fix
2002-10-29 15:05:07 +00:00
Moriyoshi Koizumi
16fc9f6539
Fix build if mbstring is enabled as shared extension.
2002-10-25 13:12:05 +00:00
Moriyoshi Koizumi
d347143fe1
Improved determine_charset() to look up SG(default_charset) value
2002-10-24 22:04:28 +00:00
Moriyoshi Koizumi
429f8fa6d7
Fixed ISO-8859-1 handling.
2002-10-24 21:10:45 +00:00
Moriyoshi Koizumi
f2269ef4a3
Added € support to cp1252 table
2002-10-24 19:52:30 +00:00
Marcus Boerger
37d2a1dd08
fix warning
2002-10-23 23:09:08 +00:00
Moriyoshi Koizumi
68a5d1bca3
Improved determine_charset() to use mbstring.internal_encoding when the last
...
param is a null string. (If the param is omitted, it takes iso-8859-1 as
the default charset in favour of backwards compatibility.)
2002-10-22 20:11:48 +00:00
Andrey Hristov
ae70a4e458
few ws fixes.
2002-10-03 12:06:52 +00:00
Sebastian Bergmann
b5d4b5496d
Fix ZTS build.
2002-09-26 18:13:32 +00:00
Wez Furlong
4d9d06c874
Emit a warning when an unsupported charset is requested in htmlentities.
...
Fixed #18521 .
2002-09-26 16:07:14 +00:00
Wez Furlong
a12423f959
Fix for #19570 : last character in translation table is omitted.
2002-09-24 10:05:45 +00:00
Rasmus Lerdorf
89651dabde
Description didn't match the function here
2002-08-28 22:14:42 +00:00
Wez Furlong
ddddf398af
WS
2002-08-25 19:44:25 +00:00
Derick Rethans
728f2de442
Unify error messages
2002-07-08 12:52:22 +00:00
Rasmus Lerdorf
ca9c4270f8
Make sure len is defined here
2002-06-03 18:26:27 +00:00
Wez Furlong
a03d09e2d9
Add support for remaining entities in HTML 4 for the UTF-8 encoding in
...
htmlentities/htmlspecial chars.
This is a fix for for #17008 .
# I would *really* appreciate it if someone with a good eye could verify
# that all the entities are there and are correctly numbered; I've checked
# it three times, but it's best to be sure.
2002-05-05 23:06:39 +00:00
Stefan Esser
e926db7bfa
fixed possible bufferoverflow in get_next_char
...
malformed input to htmlentities/htmlspecialchars
with utf-8 encoding crashed the server
ex: htmlentities("\xfd...(30times)", ENT_NOQUOTES, "utf-8");
2002-03-16 09:44:30 +00:00
Wez Furlong
52982c422e
This should help with some build problems/warnings under win32.
...
Someone still needs to add the streams.c file to the MSVC
project/workspace though (there are so many that I don't really know
what I am doing :-).
2002-03-16 02:33:00 +00:00
Wez Furlong
a184f5d1d3
* formatting, plus remove some old fopen wrappers
2002-03-16 01:34:52 +00:00
Wez Furlong
0f65280cb5
New PHP streams...
2002-03-15 21:03:08 +00:00
Dan Kalowsky
86ca867930
quelling a warning, and ensuring now undefined behavior
2002-03-06 16:15:28 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Andrei Zmievski
5da651fcd2
Convert to use new parameter parsing API.
2001-10-26 21:07:59 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Rui Hirokawa
9c5580c7d4
Added support for japanese encoding to htmlentites() and htmlspecialchars(). @ Added support for japanese encoding to htmlentites() and htmlspecialchars(). (Rui)
2001-09-15 04:48:48 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Wez Furlong
9e7da02d3b
Fix htmlspecialchars problem.
2001-08-24 08:58:10 +00:00
Wez Furlong
f20e9fa298
- Add support for chinese encodings to htmlentities/htmlspecialchars
...
(patch from Alan Knowles <alan_k@hklc.com >)
2001-08-23 10:43:15 +00:00