File:
[ELWIX - Embedded LightWeight unIX -] /
embedaddon /
php /
ext /
standard /
tests /
filters /
bug50363.phpt
Revision
1.1.1.1 (vendor branch):
download - view:
text,
annotated -
select for diffs -
revision graph
Tue Feb 21 23:48:04 2012 UTC (12 years, 6 months ago) by
misho
Branches:
php,
MAIN
CVS tags:
v5_4_3elwix,
v5_4_29p0,
v5_4_29,
v5_4_20p0,
v5_4_20,
v5_4_17p0,
v5_4_17,
v5_3_10,
HEAD
php
--TEST--
Bug #50363 (Invalid parsing in convert.quoted-printable-decode filter)
--FILE--
<?php
$foo = "Sauvegarder=C3=A9ussi(e) n=C3=A3o N=C3=83O\n";
$foo .= "Sauvegarder=c3=a9ussi(e) n=c3=a3o N=c3=83O\n"; // Does not work!
$b = fopen('php://temp', 'w+');
stream_filter_append($b, 'convert.quoted-printable-decode', STREAM_FILTER_WRITE);
fwrite($b, $foo);
rewind($b);
fpassthru($b);
?>
--EXPECTF--
Sauvegarderéussi(e) não NÃO
Sauvegarderéussi(e) não NÃO
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>