<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[BIWEB开源PHP WMS系统创始人ArthurXF肖飞的blog]]></title> 
<link>http://www.bizeway.net/index.php</link> 
<description><![CDATA[网务通 - 网务公司发展之路]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[BIWEB开源PHP WMS系统创始人ArthurXF肖飞的blog]]></copyright>
<item>
<link>http://www.bizeway.net/read.php?</link>
<title><![CDATA[转义字符]]></title> 
<author>ArthurXF &lt;arthurxf@gmail.com&gt;</author>
<category><![CDATA[PHP]]></category>
<pubDate>Tue, 01 Jul 2008 08:47:32 +0000</pubDate> 
<guid>http://www.bizeway.net/read.php?</guid> 
<description>
<![CDATA[ 
	所有的ASCII码都可以用“&#92;”加数字（一般是8进制数字）来表示。而C中定义了一些字母前加"&#92;"来表示常见的那些不能显示的ASCII字符，如&#92;0,&#92;t,&#92;n等，就称为转义字符，因为后面的字符，都不是它本来的ASCII字符意思了。<br/><br/><br/>转义字符 意义 ASCII码值(十进制) <br/>&#92;a 响铃(BEL) 007 <br/>&#92;b 退格(BS) 008 <br/>&#92;f 换页(FF) 012 <br/>&#92;n 换行(LF) 010 <br/>&#92;r 回车(CR) 013 <br/>&#92;t 水平制表(HT) 009 <br/>&#92;v 垂直制表(VT) 011 <br/>&#92;&#92; 反斜杠 092 <br/>&#92;? 问号字符 063 <br/>&#92;' 单引号字符 039 <br/>&#92;" 双引号字符 034 <br/>&#92;0 空字符(NULL) 000 <br/>&#92;ddd 任意字符 三位八进制 <br/>&#92;xhh 任意字符 二位十六进制 <br/><br/>字符型常量 &nbsp; &nbsp; &nbsp; &nbsp;<br/> &nbsp; &nbsp; &nbsp; &nbsp;字符型常量所表示的值是字符型变量所能包含的值。我们可以用ASCII表达式来表示一个字符型常量，或者用单引号内加反斜杠表示转义字符。<br/> &nbsp; &nbsp; &nbsp; &nbsp;'A', '&#92;x2f', '&#92;013';<br/> &nbsp; &nbsp; &nbsp; &nbsp;其中：&#92;x表示后面的字符是十六进制数，&#92;0表示后面的字符是八进制数。<br/> &nbsp; &nbsp; &nbsp; &nbsp;注意：在Turbo C 2.0中，字符型常量表示数的范围是-128到127，除非你把它声明为unsigned，这样就是0到255。<br/>上面我们见到的&#92;x,&#92;n,&#92;a等等都是叫转义字符，它告诉编译器需要用特殊的方式进行处理。下面给出所有的转义字符和所对应的意义：<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;转义字符 &nbsp; &nbsp; &nbsp; &nbsp;描述<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#92;' &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;单引号<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#92; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;双引号<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#92;&#92; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;反斜杠<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#92;0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;空字符<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#92;0nnn &nbsp; &nbsp; &nbsp; &nbsp; 八进制数<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#92;a &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;声音符<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#92;b &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;退格符<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#92;f &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;换页符<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#92;n &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;换行符<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#92;r &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;回车符<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#92;t &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;水平制表符<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#92;v &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;垂直制表符<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#92;x &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;十六进制符<br/><br/>Tags - <a href="tag.php?tag=%E8%BD%AC%E4%B9%89%E5%AD%97%E7%AC%A6" rel="tag">转义字符</a>
]]>
</description>
</item><item>
<link>http://www.bizeway.net/read.php?&amp;guid=0#topreply</link>
<title><![CDATA[[评论] 转义字符]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.bizeway.net/read.php?&amp;guid=0#topreply</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>