<?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>貳夢の弦 &#187; XML</title>
	<atom:link href="http://blog.frost.tw/tag/xml/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.frost.tw</link>
	<description>夢醒之時，驚覺一切都是虛幻。前行吧！迷途者。</description>
	<lastBuildDate>Wed, 26 Oct 2011 13:28:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://blog.frost.tw/?pushpress=hub'/>
		<item>
		<title>程式上癮，難以控制</title>
		<link>http://blog.frost.tw/code/poston-2010-01-09/postid-316</link>
		<comments>http://blog.frost.tw/code/poston-2010-01-09/postid-316#comments</comments>
		<pubDate>Sat, 09 Jan 2010 11:03:08 +0000</pubDate>
		<dc:creator>蒼時弦や</dc:creator>
				<category><![CDATA[程式語言]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[程式]]></category>

		<guid isPermaLink="false">http://blog.frost.tw/?p=316</guid>
		<description><![CDATA[今天為什麼比平常還晚發文呢？ 主要是因為今天又把Rss Reader 叫出來思考拉！ 不過一旦專注起來，總是會忘記時間呢！ 今天改用了一個新的作法 &#8211; 使用 Curl 套件。 不過個人認為，一個程式沒有這麼大隻，卻要包三個加起來約1MB 的檔案真的很不划算。 不過呢，自己寫的 HTTP Client 還是無法克服亂碼問題。 當然，之前說的 Windows/Linux 差異已經成功處理了！ 那麼，問題在哪裡呢？ 在於「HTTP/1.1 與 HTTP/1.0」之上， 也許是 HTTP Server 問題，或者是某種設計吧！ 總之，改成 HTTP/1.0 去請求就沒有奇怪的東西出現拉！ 原本以為可以鬆一口氣，沒想到打開 xml 文件一看…… 亂碼還在，而HTTP回傳的檔頭資訊也還沒處理。 亂碼這個問題難倒我了！ 因為我根本不會處理，現在可是商透腦筋了呢！ 各位有學過 C++ 的朋友，可以的話請傳授一下技巧吧！ （不然我肯定會在那邊閉關到暴斃……）<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜歡：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2011-05-16%2Fpostid-1182&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2010-01-09%2Fpostid-316">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">C++ 重新開始~</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-08-15%2Fpostid-641&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2010-01-09%2Fpostid-316">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">久違的程式</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2010-01-03%2Fpostid-303&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2010-01-09%2Fpostid-316">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">C++寫RSS閱讀器對我是個挑戰（Socket篇）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-09-22%2Fpostid-719&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2010-01-09%2Fpostid-316">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">第一個 Java GUI 程式</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>今天為什麼比平常還晚發文呢？<br />
主要是因為今天又把Rss Reader 叫出來思考拉！<br />
不過一旦專注起來，總是會忘記時間呢！<br />
<span id="more-316"></span><br />
今天改用了一個新的作法 &#8211; 使用 Curl 套件。<br />
不過個人認為，一個程式沒有這麼大隻，卻要包三個加起來約1MB 的檔案真的很不划算。</p>
<p>不過呢，自己寫的 HTTP Client 還是無法克服亂碼問題。<br />
當然，之前說的 Windows/Linux 差異已經成功處理了！</p>
<p>那麼，問題在哪裡呢？<br />
在於「HTTP/1.1 與 HTTP/1.0」之上，<br />
也許是 HTTP Server 問題，或者是某種設計吧！<br />
總之，改成 HTTP/1.0 去請求就沒有奇怪的東西出現拉！</p>
<p>原本以為可以鬆一口氣，沒想到打開 xml 文件一看……<br />
亂碼還在，而HTTP回傳的檔頭資訊也還沒處理。</p>
<p>亂碼這個問題難倒我了！<br />
因為我根本不會處理，現在可是商透腦筋了呢！</p>
<p>各位有學過 C++ 的朋友，可以的話請傳授一下技巧吧！<br />
（不然我肯定會在那邊閉關到暴斃……）</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜歡：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2011-05-16%2Fpostid-1182&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2010-01-09%2Fpostid-316">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">C++ 重新開始~</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-08-15%2Fpostid-641&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2010-01-09%2Fpostid-316">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">久違的程式</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2010-01-03%2Fpostid-303&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2010-01-09%2Fpostid-316">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">C++寫RSS閱讀器對我是個挑戰（Socket篇）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.frost.tw%2Flife%2Fposton-2010-09-22%2Fpostid-719&from=http%3A%2F%2Fblog.frost.tw%2Fcode%2Fposton-2010-01-09%2Fpostid-316">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">第一個 Java GUI 程式</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.frost.tw/code/poston-2010-01-09/postid-316/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

