Open
Description
I thought it will handle encoding of Metadata and output it in UTF-8 but sadly it does not.
For an example below is my code that does not produce expected response:
<?php
header('Content-Type: text/html; charset=utf-8');
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
require('OpenGraph.php');
// Test Domains: tudou.com, baidu.com, liveinternet.ru, cnzz.com, allegro.pl
$graph = OpenGraph::fetch('http://' . $_GET['domain']);
var_dump($graph->keys());
var_dump($graph->schema);
foreach ($graph as $key => $value) {
echo "$key => $value";
}
?>
Metadata
Metadata
Assignees
Labels
No labels