Ejemplo n.º 1
0
 public function testDecodeString()
 {
     $is = Mime\Decode::decodeQuotedPrintable('=?UTF-8?Q?"Peter M=C3=BCller"?= <*****@*****.**>');
     $should = iconv('UTF-8', iconv_get_encoding('internal_encoding'), '"Peter Müller" <*****@*****.**>');
     $this->assertEquals($is, $should);
 }
Ejemplo n.º 2
0
 public function testDecodeString()
 {
     $is = Mime\Decode::decodeQuotedPrintable('=?UTF-8?Q?"Peter M=C3=BCller"?= <*****@*****.**>');
     $this->assertEquals('"Peter Müller" <*****@*****.**>', $is);
 }