<?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>乱码 &#8211; moneyslow.com</title>
	<atom:link href="https://moneyslow.com/tag/%e4%b9%b1%e7%a0%81/feed" rel="self" type="application/rss+xml" />
	<link>https://moneyslow.com</link>
	<description>making money with technology</description>
	<lastBuildDate>Sat, 23 Mar 2019 15:54:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.4</generator>
	<item>
		<title>查看文件编码并批量进行转换</title>
		<link>https://moneyslow.com/%e6%9f%a5%e7%9c%8b%e6%96%87%e4%bb%b6%e7%bc%96%e7%a0%81%e5%b9%b6%e6%89%b9%e9%87%8f%e8%bf%9b%e8%a1%8c%e8%bd%ac%e6%8d%a2.html</link>
		
		<dc:creator><![CDATA[moneyslow]]></dc:creator>
		<pubDate>Sat, 23 Mar 2019 15:54:40 +0000</pubDate>
				<category><![CDATA[newest]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[乱码]]></category>
		<category><![CDATA[编码]]></category>
		<guid isPermaLink="false">https://moneyslow.com/?p=8561</guid>

					<description><![CDATA[查看文件编码 file -i filename 递归转换(包括子文件夹) find default -type d -exec mkdir -p utf/{} \; find default -type f -exec iconv -f GBK -t UTF-8 {} -o utf/{} \; 这两行命令将default目录下的文件由GBK编码转换为UTF-8编码，目录结构不变，转码后的文件保存在utf/default目录下。 注意：如果原来就是utf-8编码，使用iconv -f GBK -t UTF-8命令转换后，会出现乱码，或截断等各种问题； 一定要保证原文件是不是utf-8编码； 使用如下命令把文件编码先查出来： find default -type f -exec file -i {} \; &#62; /tmp/a 查询是否存在已经是utf-8编码的文件： grep "charset=utf-8" /tmp/a iconv有如下选项可用: 输入/输出格式规范： -f, --from-code=名称 [&#8230;]]]></description>
		
		
		
			</item>
	</channel>
</rss>
