zoukankan      html  css  js  c++  java
  • Strings.xml文件中的空格转义符

    在strings.xml中输入很多空格,则只会保留一个,如果需要多个空格用于对齐等操作时,需要使用其转义字符:" "
    类似的转义字符还有很多,列表如下(后面是英文说明):
    <!ENTITY nbsp   CDATA "&#160;" -- no-break space -->
    <!ENTITY iexcl CDATA "&#161;" -- inverted exclamation mark -->
    <!ENTITY cent CDATA "&#162;" -- cent sign -->
    <!ENTITY pound CDATA "&#163;" -- pound sterling sign -->
    <!ENTITY curren CDATA "&#164;" -- general currency sign -->
    <!ENTITY yen CDATA "&#165;" -- yen sign -->
    <!ENTITY brvbar CDATA "&#166;" -- broken (vertical) bar -->
    <!ENTITY sect CDATA "&#167;" -- section sign -->
    <!ENTITY uml CDATA "&#168;" -- umlaut (dieresis) -->
    <!ENTITY copy CDATA "&#169;" -- copyright sign -->
    <!ENTITY ordf CDATA "&#170;" -- ordinal indicator, feminine -->
    <!ENTITY laquo CDATA "&#171;" -- angle quotation mark, left -->
    <!ENTITY not CDATA "&#172;" -- not sign -->
    <!ENTITY shy CDATA "&#173;" -- soft hyphen -->
    <!ENTITY reg CDATA "&#174;" -- registered sign -->
    <!ENTITY macr CDATA "&#175;" -- macron -->
    <!ENTITY deg CDATA "&#176;" -- degree sign -->
    <!ENTITY plusmn CDATA "&#177;" -- plus-or-minus sign -->
    <!ENTITY sup2 CDATA "&#178;" -- superscript two -->
    <!ENTITY sup3 CDATA "&#179;" -- superscript three -->
    <!ENTITY acute CDATA "&#180;" -- acute accent -->
    <!ENTITY micro CDATA "&#181;" -- micro sign -->
    <!ENTITY para CDATA "&#182;" -- pilcrow (paragraph sign) -->
    <!ENTITY middot CDATA "&#183;" -- middle dot -->
    <!ENTITY cedil CDATA "&#184;" -- cedilla -->
    <!ENTITY sup1 CDATA "&#185;" -- superscript one -->
    <!ENTITY ordm CDATA "&#186;" -- ordinal indicator, masculine -->
    <!ENTITY raquo CDATA "&#187;" -- angle quotation mark, right -->
    <!ENTITY frac14 CDATA "&#188;" -- fraction one-quarter -->
    <!ENTITY frac12 CDATA "&#189;" -- fraction one-half -->
    <!ENTITY frac34 CDATA "&#190;" -- fraction three-quarters -->
    <!ENTITY iquest CDATA "&#191;" -- inverted question mark -->
    <!ENTITY Agrave CDATA "&#192;" -- capital A, grave accent -->
    <!ENTITY Aacute CDATA "&#193;" -- capital A, acute accent -->
    <!ENTITY Acirc CDATA "&#194;" -- capital A, circumflex accent -->
    <!ENTITY Atilde CDATA "&#195;" -- capital A, tilde -->
    <!ENTITY Auml CDATA "&#196;" -- capital A, dieresis or umlaut mark -->
    <!ENTITY Aring CDATA "&#197;" -- capital A, ring -->
    <!ENTITY AElig CDATA "&#198;" -- capital AE diphthong (ligature) -->
    <!ENTITY Ccedil CDATA "&#199;" -- capital C, cedilla -->
    <!ENTITY Egrave CDATA "&#200;" -- capital E, grave accent -->
    <!ENTITY Eacute CDATA "&#201;" -- capital E, acute accent -->
    <!ENTITY Ecirc CDATA "&#202;" -- capital E, circumflex accent -->
    <!ENTITY Euml CDATA "&#203;" -- capital E, dieresis or umlaut mark -->
    <!ENTITY Igrave CDATA "&#204;" -- capital I, grave accent -->
    <!ENTITY Iacute CDATA "&#205;" -- capital I, acute accent -->
    <!ENTITY Icirc CDATA "&#206;" -- capital I, circumflex accent -->
    <!ENTITY Iuml CDATA "&#207;" -- capital I, dieresis or umlaut mark -->
    <!ENTITY ETH CDATA "&#208;" -- capital Eth, Icelandic -->
    <!ENTITY Ntilde CDATA "&#209;" -- capital N, tilde -->
    <!ENTITY Ograve CDATA "&#210;" -- capital O, grave accent -->
    <!ENTITY Oacute CDATA "&#211;" -- capital O, acute accent -->
    <!ENTITY Ocirc CDATA "&#212;" -- capital O, circumflex accent -->
    <!ENTITY Otilde CDATA "&#213;" -- capital O, tilde -->
    <!ENTITY Ouml CDATA "&#214;" -- capital O, dieresis or umlaut mark -->
    <!ENTITY times CDATA "&#215;" -- multiply sign -->
    <!ENTITY Oslash CDATA "&#216;" -- capital O, slash -->
    <!ENTITY Ugrave CDATA "&#217;" -- capital U, grave accent -->
    <!ENTITY Uacute CDATA "&#218;" -- capital U, acute accent -->
    <!ENTITY Ucirc CDATA "&#219;" -- capital U, circumflex accent -->
    <!ENTITY Uuml CDATA "&#220;" -- capital U, dieresis or umlaut mark -->
    <!ENTITY Yacute CDATA "&#221;" -- capital Y, acute accent -->
    <!ENTITY THORN CDATA "&#222;" -- capital THORN, Icelandic -->
    <!ENTITY szlig CDATA "&#223;" -- small sharp s, German (sz ligature) -->
    <!ENTITY agrave CDATA "&#224;" -- small a, grave accent -->
    <!ENTITY aacute CDATA "&#225;" -- small a, acute accent -->
    <!ENTITY acirc CDATA "&#226;" -- small a, circumflex accent -->
    <!ENTITY atilde CDATA "&#227;" -- small a, tilde -->
    <!ENTITY auml CDATA "&#228;" -- small a, dieresis or umlaut mark -->
    <!ENTITY aring CDATA "&#229;" -- small a, ring -->
    <!ENTITY aelig CDATA "&#230;" -- small ae diphthong (ligature) -->
    <!ENTITY ccedil CDATA "&#231;" -- small c, cedilla -->
    <!ENTITY egrave CDATA "&#232;" -- small e, grave accent -->
    <!ENTITY eacute CDATA "&#233;" -- small e, acute accent -->
    <!ENTITY ecirc CDATA "&#234;" -- small e, circumflex accent -->
    <!ENTITY euml CDATA "&#235;" -- small e, dieresis or umlaut mark -->
    <!ENTITY igrave CDATA "&#236;" -- small i, grave accent -->
    <!ENTITY iacute CDATA "&#237;" -- small i, acute accent -->
    <!ENTITY icirc CDATA "&#238;" -- small i, circumflex accent -->
    <!ENTITY iuml CDATA "&#239;" -- small i, dieresis or umlaut mark -->
    <!ENTITY eth CDATA "&#240;" -- small eth, Icelandic -->
    <!ENTITY ntilde CDATA "&#241;" -- small n, tilde -->
    <!ENTITY ograve CDATA "&#242;" -- small o, grave accent -->
    <!ENTITY oacute CDATA "&#243;" -- small o, acute accent -->
    <!ENTITY ocirc CDATA "&#244;" -- small o, circumflex accent -->
    <!ENTITY otilde CDATA "&#245;" -- small o, tilde -->
    <!ENTITY ouml CDATA "&#246;" -- small o, dieresis or umlaut mark -->
    <!ENTITY divide CDATA "&#247;" -- divide sign -->
    <!ENTITY oslash CDATA "&#248;" -- small o, slash -->
    <!ENTITY ugrave CDATA "&#249;" -- small u, grave accent -->
    <!ENTITY uacute CDATA "&#250;" -- small u, acute accent -->
    <!ENTITY ucirc CDATA "&#251;" -- small u, circumflex accent -->
    <!ENTITY uuml CDATA "&#252;" -- small u, dieresis or umlaut mark -->
    <!ENTITY yacute CDATA "&#253;" -- small y, acute accent -->
    <!ENTITY thorn CDATA "&#254;" -- small thorn, Icelandic -->
    <!ENTITY yuml CDATA "&#255;" -- small y, dieresis or umlaut mark -->
  • 相关阅读:
    Enterprise Library 4.1学习笔记2数据访问程序块
    [转]Using The Silverlight DataGrid
    Enterprise Library 4.1学习笔记6加密应用程序块
    servU 7以上版本pasv端口的设置及中文乱码问题
    [转]深度解析 TypeConverter & TypeConverterAttribute
    MVC RC2中关于HtmlHelper给DropDownList设置初始选中值的问题
    [转]php5+apache2+mysql5最新环境配置
    WCF运行错误:“此集合已经包含方案 http 的地址”的解决办法
    silverlight + wcf(json格式) + sqlserver存储过程分页
    [转贴]Http 请求处理流程
  • 原文地址:https://www.cnblogs.com/wzc0066/p/2948375.html
Copyright © 2011-2022 走看看