Selam,
Sitem için rss-l4 paketi (
https://github.com/thujohn/rss-l4) ile feeder ayarlamaya çalışıyorum ama türkçe karakterler . " Marka Ülke İçin #DestinasyonTürkiye" gibi çıkıyor.
Route::get('/', function()
{
$feed = Rss::feed('2.0', 'UTF-8');
$feed->channel(array('title' => 'Channel\'s title', 'description' => 'Channel\'s description', 'link' => 'http://www.test.com/'));
$posts = Post::all();
foreach ($posts as $post) {
$feed->item(array('title' => $post->title, 'description|cdata' => 'Description ', 'link' => 'http://www.sirtcantalilar.com/blog/'.$post->slug));
}
return Response::make($feed, 200, array('Content-Type' => 'text/xml'));
});
Bu sorunu nasıl düzeltebilirim ?