<?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; firefox</title>
	<atom:link href="http://www.lifangjin.com/archives/tag/firefox/feed" rel="self" type="application/rss+xml" />
	<link>http://www.lifangjin.com</link>
	<description>李方进的个人BLOG</description>
	<lastBuildDate>Sun, 05 Feb 2012 15:36:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>恼人的UTF-8 BOM</title>
		<link>http://www.lifangjin.com/archives/498</link>
		<comments>http://www.lifangjin.com/archives/498#comments</comments>
		<pubDate>Thu, 31 Jul 2008 01:29:57 +0000</pubDate>
		<dc:creator>李 方进</dc:creator>
				<category><![CDATA[开发编程]]></category>
		<category><![CDATA[ascii]]></category>
		<category><![CDATA[bom]]></category>
		<category><![CDATA[EditPlus]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[unicode]]></category>
		<category><![CDATA[UTF]]></category>

		<guid isPermaLink="false">http://www.lifangjin.com/?p=498</guid>
		<description><![CDATA[猫猫举报说奥运竞猜的页面样式有问题，昨天下午开始仔细的检查检查再检查： 1.样式表的问题排除 2.页面编码方式可能导致的问题排除 百思不得其解，这种莫名的问题老实说第一次碰到。 快下班的时候无意中发现我新装的EditPlus3的保存选项中UTF-8标识选的“总是加入签名”，印象中这个选项是“总是删除签名”，于是尝试着把这个选项改掉，然后把奥运竞猜的程序全部重新另存一遍上传到服务器——OK，页面样式对了。 问题是解决了，但是为何这个“签名”会导致这种问题？万能的Google告诉我： utf-8 是一种在web应用中经常使用的一种 unicode  字符的编码方式，使用 utf-8  的好处在于它是一种变长的编码方式，对于 ANSII 码编码长度为1个字节，这样的话在传输大量 ASCII 字符集的网页时，可以大量节约网络带宽。使用 utf-8 编码来编写网页的时候， 往往会因为 bom (Byte Order Mark)  的问题，导致网页中经常出现一些不明的空行或者乱码字符。 这些都是因为 utf-8 编码方式对于 bom 不是强制的。因此 utf-8 编码在保存文件的时候，会出现不同的处理方式。比如有的浏览器(FireFox)可以自动过滤掉所有 utf-8 bom ， 有的 (IE) 只能过滤掉一次 bom （为什么是一次？ 当你出现 Include 多次文件时就会碰上这个问题了）。   对此 w3.org 标准 FAQ 中对此问题有一个专门的描述： http://www.w3.org/International/questions/qa-utf8-bom]]></description>
			<content:encoded><![CDATA[<div>猫猫举报说奥运竞猜的页面样式有问题，昨天下午开始仔细的检查检查再检查：</div>
<div>1.样式表的问题排除</div>
<div>2.页面编码方式可能导致的问题排除</div>
<div>百思不得其解，这种莫名的问题老实说第一次碰到。</div>
<div>快下班的时候无意中发现我新装的EditPlus3的保存选项中UTF-8标识选的“总是加入签名”，印象中这个选项是“总是删除签名”，于是尝试着把这个选项改掉，然后把奥运竞猜的程序全部重新另存一遍上传到服务器——OK，页面样式对了。</div>
<div><img id="uchomelocalimg[]" src="http://my.chinacars.com/attachment/200807/31/7_1217466975CTT4.jpg" alt="" /></div>
<div>问题是解决了，但是为何这个“签名”会导致这种问题？万能的Google告诉我：</div>
<div><a href="http://www.lifangjin.com/archives/tag/utf" class="st_tag internal_tag" rel="tag" title="Posts tagged with UTF">utf</a>-8 是一种在web应用中经常使用的一种 <a href="http://www.lifangjin.com/archives/tag/unicode" class="st_tag internal_tag" rel="tag" title="Posts tagged with unicode">unicode</a>  字符的编码方式，使用 utf-8  的好处在于它是一种变长的编码方式，对于 ANSII 码编码长度为1个字节，这样的话在传输大量 <a href="http://www.lifangjin.com/archives/tag/ascii" class="st_tag internal_tag" rel="tag" title="Posts tagged with ascii">ASCII</a> 字符集的网页时，可以大量节约网络带宽。使用 utf-8 编码来编写网页的时候， 往往会因为 <a href="http://www.lifangjin.com/archives/tag/bom" class="st_tag internal_tag" rel="tag" title="Posts tagged with bom">bom</a> (Byte Order Mark)  的问题，导致网页中经常出现一些不明的空行或者乱码字符。 这些都是因为 utf-8 编码方式对于 <a href="http://www.lifangjin.com/archives/tag/bom" class="st_tag internal_tag" rel="tag" title="Posts tagged with bom">bom</a> 不是强制的。因此 utf-8 编码在保存文件的时候，会出现不同的处理方式。比如有的浏览器(<a href="http://www.lifangjin.com/archives/tag/firefox" class="st_tag internal_tag" rel="tag" title="Posts tagged with firefox">FireFox</a>)可以自动过滤掉所有 utf-8 <a href="http://www.lifangjin.com/archives/tag/bom" class="st_tag internal_tag" rel="tag" title="Posts tagged with bom">bom</a> ， 有的 (<a href="http://www.lifangjin.com/archives/tag/ie" class="st_tag internal_tag" rel="tag" title="Posts tagged with IE">IE</a>) 只能过滤掉一次 bom （为什么是一次？ 当你出现 Include 多次文件时就会碰上这个问题了）。</div>
<div> </div>
<div>对此 w3.org 标准 FAQ 中对此问题有一个专门的描述： <a href="http://www.w3.org/International/questions/qa-utf8-bom">http://www.w3.org/International/questions/qa-utf8-bom</a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.lifangjin.com/archives/498/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>介绍两款网页设计相关的firefox插件</title>
		<link>http://www.lifangjin.com/archives/443</link>
		<comments>http://www.lifangjin.com/archives/443#comments</comments>
		<pubDate>Fri, 29 Feb 2008 05:32:51 +0000</pubDate>
		<dc:creator>李 方进</dc:creator>
				<category><![CDATA[开发编程]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.lifangjin.com/archives/443</guid>
		<description><![CDATA[1.CSSViewer A simple CSS property viewer. 效果： 2.Firebug Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page&#8230; Firebug integrates with Firefox to put a wealth of development tools at your fingertips while [...]]]></description>
			<content:encoded><![CDATA[<p>1.CSSViewer</p>
<p>A simple CSS property viewer.</p>
<p>效果：</p>
<p><img src="http://www.lifangjin.com/wp-content/uploads/2008/02/tool1.jpg" alt="tool1.jpg" /></p>
<p>2.Firebug</p>
<p class="addon-feature-tagline">
<p dir="ltr" lang="en-US">Firebug integrates with <a href="http://www.lifangjin.com/archives/tag/firefox" class="st_tag internal_tag" rel="tag" title="Posts tagged with firefox">Firefox</a> to put a wealth of development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page&#8230;</p>
<p>Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page. <img src="http://www.lifangjin.com/wp-content/uploads/2008/02/tool2.jpg" alt="tool2.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifangjin.com/archives/443/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

