<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:media="http://search.yahoo.com/mrss/"
	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>乱码 - 四号程序员</title>
	<atom:link href="https://www.coder4.com/archives/tag/%E4%B9%B1%E7%A0%81/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Wed, 19 Jun 2013 02:08:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>[转]vim打开中文(gbk)乱码</title>
		<link>https://www.coder4.com/archives/3919</link>
					<comments>https://www.coder4.com/archives/3919#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Wed, 19 Jun 2013 02:08:15 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[gbk]]></category>
		<category><![CDATA[vim]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[乱码]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=3919</guid>

					<description><![CDATA[转自：http://www.cnblogs.com/hopeworld/archive/2011/04/20/2022331.html Vim有四个跟字符编码方式有关的选项，encoding、fileencoding、fileencodings、termencoding(这些选项设置请参考Vim文档中encoding-names章节)，它们的意义如下: encoding encoding是Vim内部使用的字符编码方式，包括Vim的buffer(缓冲区)、菜单文本、消息文本等。默认[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/3919/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Python写UTF8文件，UE、记事本打开依然乱码的问题</title>
		<link>https://www.coder4.com/archives/3835</link>
					<comments>https://www.coder4.com/archives/3835#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Fri, 01 Mar 2013 04:50:11 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[BOM]]></category>
		<category><![CDATA[UTF-8]]></category>
		<category><![CDATA[乱码]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=3835</guid>

					<description><![CDATA[现象：使用codecs打开文件，写入UTF-8文本，正常无错误。用vim打开正常，但记事本、UE等打开乱码。 原因：一般写文本时，默认是没有BOM头的，即编辑器不知道这个文本文件是神马编码，只能智能detect，这个detect有的弱有的强，比如UE、记事本就挂了，认为是ASCII格式的，于是就乱码了。 解决方法：如果为了编辑器打开正常，可以加入BOM编码。但一定要慎重，一旦加入后，头部会增加2~3个字节，如果程序再读取，显然会出错。这个如果使用UE编辑过PHP代码抓过狂的都应该懂得[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/3835/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>BeautifulSoup中文乱码解决问题</title>
		<link>https://www.coder4.com/archives/3621</link>
					<comments>https://www.coder4.com/archives/3621#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 13 Sep 2012 03:44:41 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[BeautifulSoup]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[乱码]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=3621</guid>

					<description><![CDATA[import urllib2 from BeautifulSoup import BeautifulSoup page = urllib2.urlopen(&#039;http://www.leeon.me&#039;); soup = BeautifulSoup(page,fromEncoding=&#34;gb18030&#34;) print soup.originalEncoding print soup.prettify() 如果中文页面编码是gb2312，gb[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/3621/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>关于mutt发邮件的中文乱码的问题</title>
		<link>https://www.coder4.com/archives/1754</link>
					<comments>https://www.coder4.com/archives/1754#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 02 Aug 2011 05:37:55 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mutt]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[乱码]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=1754</guid>

					<description><![CDATA[首先，mutt是很智能的，不要低估了人家的智商。 默认来说，是根据系统的LANG变量来评估所需要试用的编码的。 以中文为例 sudo sudo dpkp-reconfigure locales #然后构上选择zh_CN.GB2312 #但是不要选择默认编码！ Generating locales (this might take a while)... zh_CN.GB2312... done Generation complete. #执行成功后直接exp[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/1754/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Linux Screen窗口中文乱码问题</title>
		<link>https://www.coder4.com/archives/1595</link>
					<comments>https://www.coder4.com/archives/1595#comments</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 26 May 2011 02:13:12 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[乱码]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=1595</guid>

					<description><![CDATA[转载自：LINUX SCREEN窗口中文乱码问题，感谢原作者！ 环境：Linux Dist: CentOS 4.3，locale: en_US.UTF-8， .vimrc: set fencs=gbk 目标：终端使用 less/more/grep 等命令正确显示 GBK 编码文件内容，vim 正确显示 GBK 编码文件汉字 症状： 1. 系统自带 gnome-terminal 在设置终端编码为 GBK 后，能达到目标。 2. 使用 xshell 在 windows[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/1595/feed</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Linux下Oracle客户端中文乱码问题</title>
		<link>https://www.coder4.com/archives/1462</link>
					<comments>https://www.coder4.com/archives/1462#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Fri, 08 Apr 2011 13:09:48 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[数据库技术]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[乱码]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=1462</guid>

					<description><![CDATA[感谢这篇文章：http://liushuai-238.iteye.com/blog/362610 1、获得服务器上的字符集 首先登录上sqlplus，查看服务器上的字符集。 sqlplus user/pass@ip/sid #得到如下结果： SQL&#62; select userenv('language') from dual; USERENV('LANGUAGE') --------------------------------------------------[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/1462/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu 10.04LTS上添加中文编码</title>
		<link>https://www.coder4.com/archives/1429</link>
					<comments>https://www.coder4.com/archives/1429#comments</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Mon, 04 Apr 2011 07:24:20 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[中文编码]]></category>
		<category><![CDATA[乱码]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=1429</guid>

					<description><![CDATA[如果安装时候是英文的话，不包含中文编码（GBK），可以如下解决： sudo locale-gen zh_CN.GB18030 #在着这个格文件添加一行 gedit /var/lib/locales/supported.d/local zh_CN.GBK GBK #最后 sudo dpkg-reconfigure locales 完成。[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/1429/feed</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Debian下中文乱码的问题</title>
		<link>https://www.coder4.com/archives/1352</link>
					<comments>https://www.coder4.com/archives/1352#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 20 Jan 2011 12:51:10 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[乱码]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=1352</guid>

					<description><![CDATA[1、安装中文字体 我这里就文泉驿了，地址如下： http://wenq.org/index.cgi?Download#BitmapSong_Stable su dpkg -i ./wqy-bitmapfont 2、添加locales 如果选择了英文安装，则locales都是没有安装上的，于是 dpkg-reconfigure locales 把zh_开头的几个选上就OK了。 默认locales不要改，否则终端会有乱码。 2011-1-21更新，备注： 在Debian6下[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/1352/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>解决Ubuntu下pdf中文显示乱码的问题</title>
		<link>https://www.coder4.com/archives/900</link>
					<comments>https://www.coder4.com/archives/900#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 12 Aug 2010 05:37:30 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[乱码]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=900</guid>

					<description><![CDATA[sudo apt-get install xpdf-chinese-simplified[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/900/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
