<?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; UTF-8</title>
	<atom:link href="http://chuangyiji.com/tag/utf-8/feed/" rel="self" type="application/rss+xml" />
	<link>http://chuangyiji.com</link>
	<description></description>
	<lastBuildDate>Sat, 04 Sep 2010 15:59:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>python学习笔记之二</title>
		<link>http://chuangyiji.com/2009/07/05/the-second-study-notes-python/</link>
		<comments>http://chuangyiji.com/2009/07/05/the-second-study-notes-python/#comments</comments>
		<pubDate>Sun, 05 Jul 2009 15:54:21 +0000</pubDate>
		<dc:creator>wingfish</dc:creator>
				<category><![CDATA[编程]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[UTF-8]]></category>

		<guid isPermaLink="false">http://chuangyiji.com/2009/07/05/the-second-study-notes-python/</guid>
		<description><![CDATA[这两天碰到一个非常麻烦的问题，就是我试图小小的修改一下按钮，将submit修改为中文的提交，却显示了满屏幕的出错信息，也看不太懂这些出错信息想要说什么。(至今怀念第一次看到turbo pascal 5.0的时候，惊讶于borland的出错信息可以做的这么智能化)。 其实问题解决很简单，我用notepad++存盘py文件的时候，默认是ANSI，只要修改为UTF-8就可以了。我用各种搜索条件怎么也找不到这样简单问题的答案，可能所有的人都认为我应该默认就用UTF-8来保存的。在程序头部加入coding说明，如果保存格式不是UTF-8，一样是没有用的。 在尝试解决这个问题的时候，也下载了据说是最好的pyton集成开发环境的wing ide，对于多年使用delphi的我来说，只能笑笑了。怪不得经常会看到某某ide是某某语言中的delphi开发环境，borland当年的delphi神话看来是太难以突破了。或许脚本语言还有很大的发展空间。 相关内容 开始学习python (10) python程序优雅之美 (2) python学习笔记之一 (2) delphi将以插件形式支持visual studio (0)]]></description>
			<content:encoded><![CDATA[<p>这两天碰到一个非常麻烦的问题，就是我试图小小的修改一下按钮，将submit修改为中文的提交，却显示了满屏幕的出错信息，也看不太懂这些出错信息想要说什么。(至今怀念第一次看到turbo pascal 5.0的时候，惊讶于borland的出错信息可以做的这么智能化)。</p>
<p>其实问题解决很简单，我用notepad++存盘py文件的时候，默认是ANSI，只要修改为UTF-8就可以了。我用各种搜索条件怎么也找不到这样简单问题的答案，可能所有的人都认为我应该默认就用UTF-8来保存的。在程序头部加入coding说明，如果保存格式不是UTF-8，一样是没有用的。</p>
<p>在尝试解决这个问题的时候，也下载了据说是最好的pyton集成开发环境的wing ide，对于多年使用delphi的我来说，只能笑笑了。怪不得经常会看到某某ide是某某语言中的delphi开发环境，<a href="http://chuangyiji.com/2009/05/06/borland-software-corporation-by-the-british-company-to-75-million-us-dollars-acquisition/">borland</a>当年的delphi神话看来是太难以突破了。或许脚本语言还有很大的发展空间。</p>

	<h4>相关内容</h4>
	<ul class="st-related-posts">
	<li><a href="http://chuangyiji.com/2009/06/30/started-to-learn-python/" title="开始学习python (June 30, 2009)">开始学习python</a> (10)</li>
	<li><a href="http://chuangyiji.com/2009/07/09/the-beauty-of-elegant-python-program/" title="python程序优雅之美 (July 9, 2009)">python程序优雅之美</a> (2)</li>
	<li><a href="http://chuangyiji.com/2009/07/03/one-study-notes-python/" title="python学习笔记之一 (July 3, 2009)">python学习笔记之一</a> (2)</li>
	<li><a href="http://chuangyiji.com/2008/10/07/delphi-will-be-in-the-form-of-plug-in-support-for-the-visual-studio/" title="delphi将以插件形式支持visual studio (October 7, 2008)">delphi将以插件形式支持visual studio</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://chuangyiji.com/2009/07/05/the-second-study-notes-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
