diff options
Diffstat (limited to 'includes/inc_vdr.php')
-rwxr-xr-x | includes/inc_vdr.php | 7 |
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); } |