1--TEST--
2Bug #50363 (Invalid parsing in convert.quoted-printable-decode filter)
3--FILE--
4<?php
5
6$foo = "Sauvegarder=C3=A9ussi(e) n=C3=A3o N=C3=83O\n";
7$foo .= "Sauvegarder=c3=a9ussi(e) n=c3=a3o N=c3=83O\n"; // Does not work!
8$b = fopen('php://temp', 'w+');
9stream_filter_append($b, 'convert.quoted-printable-decode', STREAM_FILTER_WRITE);
10fwrite($b, $foo);
11rewind($b);
12fpassthru($b);
13
14?>
15--EXPECTF--
16Sauvegarderéussi(e) não NÃO
17Sauvegarderéussi(e) não NÃO
18