﻿<?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; Windows记事本</title>
	<atom:link href="http://www.asklaosan.com/laosan_answer_tag/windows%e8%ae%b0%e4%ba%8b%e6%9c%ac/feed" rel="self" type="application/rss+xml" />
	<link>http://www.asklaosan.com</link>
	<description></description>
	<lastBuildDate>Tue, 08 Feb 2011 11:19:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>记事本文件乱码的原因及解决方法</title>
		<link>http://www.asklaosan.com/laosan_answer_329.html</link>
		<comments>http://www.asklaosan.com/laosan_answer_329.html#comments</comments>
		<pubDate>Wed, 16 Jun 2010 11:27:25 +0000</pubDate>
		<dc:creator>Laosan</dc:creator>
				<category><![CDATA[电脑网络]]></category>
		<category><![CDATA[notepad]]></category>
		<category><![CDATA[UTF-8]]></category>
		<category><![CDATA[Windows记事本]]></category>
		<category><![CDATA[乱码]]></category>
		<category><![CDATA[编码]]></category>
		<category><![CDATA[记事本]]></category>

		<guid isPermaLink="false">http://www.asklaosan.com/?p=329</guid>
		<description><![CDATA[记事本文件乱码的原因及解决方法]]></description>
			<content:encoded><![CDATA[<p>凡是使用过Windows记事本（Notepad）的人，或多或少的都会遇到过记事本文件乱码的问题。虽然有时候并不是很严重的问题，但还是让人觉得不方便。</p>
<p>记事本文件出现乱码，一般来说，都是因为文件编码混乱所造成的，在字符信息没有丢失的情况下，仅仅是编码混乱造成记事本文件的乱码，一般是可以修复还原到原来的文件，特别是由于操作系统之间的转换所造成的乱码，比如在英文Windows系统保存的文件，拿到中文Windows系统打开出现乱码，或者在Windows XP系统下保存的文件，拿到Windows 7系统打开，出现文件的乱码。这种情况下，可以试着用以下的方法还原原来的文件。</p>
<p>1）尝试用Word打开乱码的文件。<br />
右键该文件，在“打开方式”里选择Microsoft Office Word来打开此文件，在Word打开乱码的文件时，会有多种编码供你选择，你可以挑选一种来打开此文件，试试不同的编码，比如GB2312、Big5或者UTF-8等，会找到一种编决乱码的问题。</p>
<p>2）将乱码文件存为网页文件再打开。<br />
打开乱码的文件，然后“文件-另存为”，在“保存类型”里，选择“所有文件”，然后在文件名后加网页后缀（.html或.htm），保存此网页文件后再打开（IE、火狐或者是其他你的电脑默认的浏览器）。一般来说，你的浏览器会自动选择最适合的编码为你打开这个文件，这样你就能看到修复后的文件。如果还是乱码的情况，你可以手动调整一下浏览器的编码，“查看”-“编码”，试试不同的编码。</p>
<p>有一种记事本文件乱码，打开时看到的都是问号（?），这种情况，往往是由于字符的丢失造成的，所以是修复不了的，大家可能有这样的经验，在保存中文的记事本文件时，因为Windows的记事本默认的是ANSI编码，而中文含有Unicode的字符，所以保存下来的ANSI编码文件，丢失了原来的Unicode字符，再打开，就变成满篇的问号了。</p>
<p>因此在使用记事本保存文件时，最好养成好的习惯，<a href="http://www.asklaosan.com/laosan_answer_319.html">保存记事本文件为uft-8编码</a>，这样就会避免乱码和以后的麻烦。</p>


<p>相关问题：<ol><li><a href='http://www.asklaosan.com/laosan_answer_319.html' rel='bookmark' title='Permanent Link: 记事本保存文件为utf-8编码，避免乱码增加兼容性'>记事本保存文件为utf-8编码，避免乱码增加兼容性</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.asklaosan.com/laosan_answer_329.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

