Skip to content

Commit

Permalink
fixed the transcript text issue with special characters
Browse files Browse the repository at this point in the history
  • Loading branch information
smntb committed Dec 29, 2020
1 parent 90db6a2 commit c21c0b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.8.5
3.8.6
4 changes: 2 additions & 2 deletions app/Ohms/Transcript.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@ private function formatIndex($translate) {
}

private function formatTranscript() {

// iconv("UTF-8", "ASCII//IGNORE", $this->transcript);
if (strtolower($this->language) == 'arabic')
$this->transcriptHTML = $this->transcript;
else
$this->transcriptHTML = iconv("UTF-8", "ASCII//IGNORE", $this->transcript);
$this->transcriptHTML = $this->transcript;

if (strlen($this->transcriptHTML) == 0) {
return;
Expand Down

0 comments on commit c21c0b1

Please sign in to comment.