From 1e49378a27c151e54f90979860fee450aaf6a164 Mon Sep 17 00:00:00 2001 From: Seb Sauvage Date: Sun, 18 Sep 2011 14:35:46 +0200 Subject: Version 0.0.10 beta --- index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index d46bd84f..499243bd 100644 --- a/index.php +++ b/index.php @@ -1,5 +1,5 @@ in html - if (strpos($status,'200 OK')) $title=html_extract_title($data); + // FIXME: Decode charset according to specified in either 1) HTTP response headers or 2) in html + if (strpos($status,'200 OK')) $title=html_entity_decode(html_extract_title($data),ENT_QUOTES,'UTF-8'); } $link = array('linkdate'=>$linkdate,'title'=>$title,'url'=>$url,'description'=>$description,'tags'=>$tags,'private'=>0); } -- cgit v1.2.3