예제 #1
0
파일: MessageTest.php 프로젝트: rexmac/zf2
 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);
 }
예제 #2
0
 public function testDecodeString()
 {
     $is = Mime\Decode::decodeQuotedPrintable('=?UTF-8?Q?"Peter M=C3=BCller"?= <*****@*****.**>');
     $this->assertEquals('"Peter Müller" <*****@*****.**>', $is);
 }