Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
--TEST--
2
Bug #9722   _quotedPrintableEncode does not encode dot at start of line on Windows platform
3
--SKIPIF--
4
--FILE--
5
<?php
6
error_reporting(E_ALL); // ignore E_STRICT
7
include("Mail/mimePart.php");
8
$part = new Mail_mimePart('', array('eol'=>"\n"));
9
$text = "This
10
is a
11
test
12
...
13
    It is
14
//really fun//
15
to make :(";
16
 
17
print_r($part->_quotedPrintableEncode($text));
18
 
19
--EXPECT--
20
This
21
is a
22
test
23
=2E..
24
    It is=20
25
//really fun//
26
to make :(