summaryrefslogtreecommitdiff
path: root/includes/inc_vdr.php
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-19 15:44:49 +0100
committerAlib <aliboba@free.fr>2010-02-19 15:44:49 +0100
commit2441137a2fbb63547d1963da57c894e8ef889a80 (patch)
treec47d197546a6fcf35bc0edce83abe60a183bcd8e /includes/inc_vdr.php
parent1c07c44adc4af0495c2535904f5f863d36041d62 (diff)
parent97119d9248475946e69ed8485fdd4723c5f54fbe (diff)
downloadistreamdev-2441137a2fbb63547d1963da57c894e8ef889a80.tar.gz
istreamdev-2441137a2fbb63547d1963da57c894e8ef889a80.tar.bz2
Merge branch 'master' of projects.vdr-developer.org:istreamdev
Diffstat (limited to 'includes/inc_vdr.php')
-rwxr-xr-xincludes/inc_vdr.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/includes/inc_vdr.php b/includes/inc_vdr.php
index 07880e7..c96217c 100755
--- a/includes/inc_vdr.php
+++ b/includes/inc_vdr.php
@@ -83,6 +83,13 @@ function vdrgetinfostream($stream = "NULL", $ischan = 1)
$epgdesc=substr($allepg[$i], 2);
}
}
+
+ // Convert if needed
+ if (!is_utf8($epgtitle))
+ $epgtitle = utf8_encode($epgtitle);
+ if (!is_utf8($epgdesc))
+ $epgdesc = utf8_encode($epgdesc);
+
return array($epgtitle, $epgdesc, $channame);
}