<?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%b8%ad%e6%96%87/feed" rel="self" type="application/rss+xml" />
	<link>https://www.coder4.com</link>
	<description>Keep It Simple and Stupid</description>
	<lastBuildDate>Thu, 02 Nov 2023 05:59:25 +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>Linux的WPS切换成中文语言</title>
		<link>https://www.coder4.com/archives/7987</link>
					<comments>https://www.coder4.com/archives/7987#comments</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Thu, 02 Nov 2023 05:59:25 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[wps]]></category>
		<category><![CDATA[中文]]></category>
		<guid isPermaLink="false">https://www.coder4.com/?p=7987</guid>

					<description><![CDATA[1 安装wps https://www.wps.com/office/linux/ 这里选海外版面，因为阉割了会员功能，比较干净，但是它没有中文 2 下载中文语言包 https://pan.baidu.com/s/1cUO7XPO_uqJNoJKwDsX-RQ 提取码：fpg4 将zh-cn解压缩到/opt/kingsoft/wps-office/office6/mui/下 3 配置变量 编辑/usr/bin/wps，新增 LANGUAGE=zh_CN 4 检查[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/7987/feed</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu 14.04 中文编码设置</title>
		<link>https://www.coder4.com/archives/4520</link>
					<comments>https://www.coder4.com/archives/4520#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Fri, 13 Mar 2015 01:45:49 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[编码]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=4520</guid>

					<description><![CDATA[1、新增中文编码 sudo vim /var/lib/locales/supported.d/local # 添加 zh_CN.UTF-8 UTF-8 en_US.UTF-8 UTF-8 zh_CN.GB18030 GB18030 2、生成编码 sudo locale-gen 3、设置默认的编码 sudo vi /etc/environment # 添加 LANG="en_US.UTF-8" 重新登录shell后，即可生效。 更新：如果Ubuntu 16.04后找不[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/4520/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Python使用urllib2打开含有unicode(中文)的url时报错的问题。</title>
		<link>https://www.coder4.com/archives/4382</link>
					<comments>https://www.coder4.com/archives/4382#respond</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Tue, 20 Jan 2015 11:36:32 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[URL]]></category>
		<category><![CDATA[urllib2]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[报错]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=4382</guid>

					<description><![CDATA[1、报错： import urllib2 url = u"http://www.baidu.com/wd=测试" urllib2.urlopen(url).read() 错误如下： Traceback (most recent call last): File "&#60;stdin&#62;", line 1, in &#60;module&#62; File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen r[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/4382/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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>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>webpy之UnicodeDecodeError（又是Locale惹的祸）</title>
		<link>https://www.coder4.com/archives/1469</link>
					<comments>https://www.coder4.com/archives/1469#comments</comments>
		
		<dc:creator><![CDATA[coder4]]></dc:creator>
		<pubDate>Sat, 09 Apr 2011 19:17:49 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[UnicodeDecodeError]]></category>
		<category><![CDATA[webpy]]></category>
		<category><![CDATA[中文]]></category>
		<guid isPermaLink="false">http://www.coder4.com/?p=1469</guid>

					<description><![CDATA[对于Clubuptime无语了，肯定是这台母鸡又被国人占领了，模板的Locale居然被设置成了GBK。。。。。。 导致python部署webpy时候出现如下诡异的错误： if sys.getdefaultencoding() != 'utf-8': &#60;type 'exceptions.UnicodeDecodeError'&#62; at / 'ascii' codec can't decode byte 0xe4 in position 44: ordinal no[......] 继续阅读]]></description>
		
					<wfw:commentRss>https://www.coder4.com/archives/1469/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>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>
	</channel>
</rss>
