getCharset() public method

Get charset
public getCharset ( ) : string
return string
コード例 #1
0
ファイル: VCardTest.php プロジェクト: AoDispor/vcard
 /**
  * Test charset
  */
 public function testCharset()
 {
     $charset = 'ISO-8859-1';
     $this->vcard->setCharset($charset);
     $this->assertEquals($charset, $this->vcard->getCharset());
 }