<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RSS Reader UTF-8 problem - Bilişim Kurdu</title>
	<atom:link href="https://bilisimkurdu.github.io/tag/rss-reader-utf-8-problem/feed/" rel="self" type="application/rss+xml" />
	<link>https://bilisimkurdu.github.io</link>
	<description>Bilişim Hakkında Her Şey</description>
	<lastBuildDate>Mon, 08 Apr 2019 20:09:41 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>

<image>
	<url>https://bilisimkurdu.github.io/wp-content/uploads/2020/04/Logo-1-150x150.png</url>
	<title>RSS Reader UTF-8 problem - Bilişim Kurdu</title>
	<link>https://bilisimkurdu.github.io</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>C# RSS Reader UTF-8 problemi</title>
		<link>https://bilisimkurdu.github.io/c-sharp-rss-reader-utf-8-problemi/</link>
					<comments>https://bilisimkurdu.github.io/c-sharp-rss-reader-utf-8-problemi/#respond</comments>
		
		<dc:creator><![CDATA[Yakup CONTARLI]]></dc:creator>
		<pubDate>Mon, 08 Apr 2019 20:09:41 +0000</pubDate>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Programlama]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[C# RSS Reader UTF-8 problem]]></category>
		<category><![CDATA[C# RSS Reader UTF-8 problemi]]></category>
		<category><![CDATA[C# RSS UTF-8 problem]]></category>
		<category><![CDATA[C# RSS UTF-8 problemi]]></category>
		<category><![CDATA[cs]]></category>
		<category><![CDATA[csharp]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[RSS Reader UTF-8 problem]]></category>
		<category><![CDATA[utf-8]]></category>
		<guid isPermaLink="false">https://bilisimkurdu.github.io/?p=454</guid>

					<description><![CDATA[<p>Merhaba Muhterem Ziyaretçiler, Bu yazımda RSS Data çekerken bazı harflerin (ş,ü,ö,İ,ğ,ı,ç) tam olarak görünmemesi hakkında olacak. Eğer RSS dosyasını aşağıdaki gibi veya benzer bir kodlarla alıyorsanız; Aşağıdaki gibi düzenlemeniz gerekmektedir. Açıklarsak,WebClient türünde webClient nesnesini oluşturarak using deyimi içinde utf-8 uyumlu olacak şekilde parse ettik. Eğer bu yazıyla ilişkin anlatamadığım\anlaşılamayan konular varsa yazının altına yorum yapabilirsiniz.&#8230;</p>
<p>The post <a href="https://bilisimkurdu.github.io/c-sharp-rss-reader-utf-8-problemi/">C# RSS Reader UTF-8 problemi</a> first appeared on <a href="https://bilisimkurdu.github.io">Bilişim Kurdu</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Merhaba Muhterem Ziyaretçiler,</p>



<p>Bu yazımda RSS Data çekerken bazı harflerin (ş,ü,ö,İ,ğ,ı,ç) tam olarak görünmemesi hakkında olacak.</p>



<span id="more-454"></span>



<p>Eğer RSS dosyasını aşağıdaki gibi veya benzer bir kodlarla alıyorsanız;</p>



<pre class="wp-block-code"><code> 
WebClient wclient = new WebClient();  
            string RSSData=wclient.DownloadString(RSSURL);  
            XDocument xml = XDocument.Parse(RSSData);  
            var RSSFeedData = (from x in xml.Descendants("item")  
                             select new RSSFeed  
                             {  
                                 Title = ((string)x.Element("title")),  
                                 Link = ((string)x.Element("link")),  
                                 Description = ((string)x.Element("description")),  
                                 PubDate = ((string)x.Element("pubDate"))  
                             });  
          </code></pre>



<p>Aşağıdaki gibi düzenlemeniz gerekmektedir.</p>



<pre class="wp-block-code"><code>WebClient wclient = new WebClient();
            string RSSData = "";

            using (WebClient webClient = new WebClient())
            {
                webClient.Encoding = Encoding.UTF8;
                RSSData = webClient.DownloadString(RSSURL);
            }

            XDocument xml = XDocument.Parse(RSSData);
            xml.Declaration.Encoding = "utf-8";
            var RSSFeedData = (from x in xml.Descendants("item")
                               select new RSSHaber
                               {
                                   Title = ((string)x.Element("title")),
                                   Link = ((string)x.Element("link")),
                                   Description = ((string)x.Element("description")),
                                   PubDate = ((string)x.Element("pubDate")),


                               }

                               );</code></pre>



<p>Açıklarsak,WebClient türünde webClient nesnesini oluşturarak using deyimi içinde utf-8 uyumlu olacak şekilde parse ettik.</p>



<p>Eğer bu yazıyla ilişkin anlatamadığım\anlaşılamayan konular varsa yazının altına yorum yapabilirsiniz.</p>



<p>İyi akşamlar.</p><p>The post <a href="https://bilisimkurdu.github.io/c-sharp-rss-reader-utf-8-problemi/">C# RSS Reader UTF-8 problemi</a> first appeared on <a href="https://bilisimkurdu.github.io">Bilişim Kurdu</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://bilisimkurdu.github.io/c-sharp-rss-reader-utf-8-problemi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
