src/Captioning/File.php
protected function encode()
    {
        if ($this->useIconv) {
            $this->fileContent = iconv($this->encoding, 'UTF-8', $this->fileContent);
        } else {
            $this->fileContent = mb_convert_encoding($this->fileContent, 'UTF-8', $this->encoding);
        }
    }
protected function encode()
    {
        if ($this->useIconv) {
            $this->fileContent = iconv($this->encoding, 'UTF-8', $this->fileContent);
        } else {
            $this->fileContent = mb_convert_encoding($this->fileContent, 'UTF-8', $this->encoding);
        }
    }
protected function encode ( ) { if ( $ this -> useIconv ) { $ this -> fileContent = iconv ( $ this -> encoding , 'UTF-8' , $ this -> fileContent ) ; } else { $ this -> fileContent = mb_convert_encoding ( $ this -> fileContent , 'UTF-8' , $ this -> encoding ) ; } }
Encode file content
Encode file content