Special characters in the escape ANDROID STRINGS.XML

Today Android project encountered a problem escape special characters, see the online search, it reproduced it. Article Source: http: //dwtedx.com/itshare_205.html.

Items to be displayed special symbols such as @ letter, colon, & etc. in string.xml, the direct write certainly not,

Consider using only ASCII code display, with a space character is not represented in HMTL in XML, but expressed coding.

The following is a common ASCII Decimal Interchange Code:

& # 064; corresponds ----- ----- @
& # 058; corresponds -----: -----
& # 160; corresponding to spaces ----- -----
& # 032; corresponding to spaces ----- -----
& # 033; corresponds ----- -----!
& # 034; ----- corresponding to "(the need to join in the previous xml) - ----
& # 035; the corresponding ----- ----- #
& # 036; the corresponding ----- ----- $
& # 037;% corresponds ----- --- -
& # 038; corresponding to & ----- -----
& # 039; corresponds ----- '-----
& # 040; corresponds ----- (-----
& # 041; ----- corresponding to) -----
& # 042; ----- * ----- correspond
& # 043; + ----- ----- correspond
& # 044; corresponds -----, -----
& # 045; ----------- correspond
& # 046; -----.----- correspond
& # 047; corresponds ----- / -----
& # 058; corresponds -----: -----
& # 059; corresponds -----; -----
& # 060; corresponding to - ---- <-----
& # 061; = ----- ----- correspond
& # 062; corresponds -----> -----
& # 063; the corresponding ----- -----?
& # 064; the corresponding ----- ----- @
& # 091; the corresponding ----- [-----
& # 092; ------- correspond
& # 093; ----- correspond] -----
& # 094; ^ ----- ----- correspond
& # 095; --- corresponding to --_-----
& # 096; corresponding to '----- -----
& # 123; {correspond ----- -----
& # 124; corresponds ----- | -----
& # 125;} corresponds ----- -----
& # 126; ~ ----- ----- correspond
& # 160; ----- corresponding to (which side is the space will not be ignored in the first character in xml) -----
& # 161; ¡correspond ----- -----
& # 162; ¢ ----- ----- correspond
& # 163; £ ----- ----- correspond
& # 164 is; corresponds ----- ¤-- ---
& # 165; corresponding to ¥ ----- -----
& # 166; the corresponding ----- | -----
& # 167; the corresponding ----- § ---- -
& # 168; ¨ ----- correspond -----
& # 169; correspondence © ----- -----
&

& # 172; ¬ ----- correspond -----
& # 173; ---------- correspond
& # 174; corresponding to ® ----- -----
& # 175 ; ----- ¯ corresponds -----
& # 176; [deg.] corresponds ----- -----
& # 177; corresponding to ± ----- -----
& # 178; corresponding to ² ----- -----
& # 179; ----- ³ corresponds -----
& # 180 [; corresponds ----- '-----
& # 181; corresponding to - [mu] ----- ---
& # 182; the corresponding ¶ ----- -----
& # 183; correspondence • ----- -----
& # 184; correspond ---- ----- -¸
& # 185; ----- ¹ corresponds -----
& # 186; corresponding to º ----- -----
& # 187; ----- correspond » -----
& # 188; corresponding to ¼ ----- -----
& # 189; corresponding to ½ ----- -----
& # 190; corresponds ----- ¾-- ---
& # 191; ----- correspond ¿ -----
& # 192; ----- À corresponds -----
& # 193; ----- Á corresponds -----
& # 194;

& # 196; ----- Ä corresponds -----
& # 197; corresponds Å ----- -----
& # 198; Æ to correspond ----- -----
& # 199; ----- Ç corresponds -----
& # 200 is; ----- È corresponds -----
& # 201; É to correspond ----- -----
& # 202; Ê corresponds ----- -----
& # 203; ----- Ë corresponds -----
& # 204; ----- Ì corresponds -----
& # 205; corresponding to - Í ----- ----
& # 206; corresponding to the Î ----- -----
& # 207; ----- Ï corresponds -----
& # 208; --- corresponding to ----- --Ð
& # 209; ----- Ñ corresponds -----
& # 210; ----- Ò corresponds -----
& # 211; corresponds ----- ----- Ó
& # 212; ----- Ô corresponds -----
& # 213; corresponding to Õ ----- -----
& # 214; corresponds ----- Ö- ----
& # 215; corresponding to × ----- -----
& # 216; corresponding to Ø ----- -----
& # 217; --- correspond ----- Ù -
& # 218;Corresponds Ú ----- -----
& # 219; Û corresponds ----- -----
& # 220; Ü corresponds ----- -----
& # 221; ----- Ý corresponds -----
& # 222; Þ corresponds ----- -----
& # 223; corresponding to ß ----- -----
& # 224; correspond à ----- -----
& # 225; ----- á corresponds -----
& # 226; Â ----- correspondence -----
& # 227; correspond à ----- -----
& # 228; the corresponding Ä ----- -----
& # 229; correspondence - Cams ----- ----
& # 230; ----- Æ corresponds -----
& # 231; ç ----- correspond -----
& # 232; --- corresponding to ----- --è
& # 233; ----- é corresponds -----
& # 234; Ê corresponds ----- -----
& # 235; corresponds ----- ----- Ë
& # 236; ----- ė corresponds -----
& # 237; corresponding to Í ----- -----
& # 238; corresponds ----- î- ----
& # 239; ï to correspond ----- -----
& # 240; ----- ð corresponds -----
& # 241; ñ corresponds ----- --- -
& # 242;Corresponds Ò ----- -----
& # 243; Ó corresponds ----- -----
& # 244; ----- Ô corresponds -----
& # 245; corresponding to Õ ----- -----
& # 246; ö corresponds ----- -----
& # 247; ----- ÷ corresponds -----
& # 248; corresponding to Ø ----- -----
& # 249; ----- Ù corresponds -----
& # 250; corresponds Ú ----- -----
& # 251; ----- Û corresponds -----
& # 252; u corresponds ----- -----
& # 253; corresponding to - ý ----- ----
& # 254; ----- þ corresponds -----
& # 255; ----- Ÿ corresponds -----
& # 256; --- corresponding to ----- --Ā
& # 257; corresponding to ā ----- -----
& # 258; corresponding to ă ----- -----
& # 259; corresponds ----- ----- ă
& # 260.; ----- ą corresponds -----
& # 261; corresponding to ą ----- -----
& # 262; corresponds ----- Ć- ----
& # 263; corresponding to ć ----- -----
& # 264; ----- Ĉ corresponds -----
& # 265; corresponds ----- ĉ --- -
& # 266;Corresponding to Ċ ----- -----
& # 267; corresponds ----- ċ -----
& # 268; corresponding to č ----- -----
& # 269; corresponding to č ----- -----
& # 270; corresponding to ď ----- -----
& # 271; ----- ď corresponds -----
& # 272; corresponding to đ ----- -----
& # 273; corresponding to đ ----- -----
& # 274; corresponds ē ----- -----
& # 275; ----- ē corresponds -----
& # 276; corresponding to Ĕ ----- -----
& # 277; corresponding to - ĕ ----- ----
& # 278; ----- ė corresponds -----
& # 258; ----- ė corresponds -----
& # 280; --- corresponding to ----- --Ę
& # 281 is; ----- ę corresponds -----
& # 282; ----- ě corresponds -----
& # 283; corresponds ----- ----- ě
& # 284; corresponding to Ĝ ----- -----
& # 285; corresponding to ĝ ----- -----
& # 286; corresponds ----- Ğ- ----
& # 287; corresponding to G ----- -----
& # 288; corresponding to ġ ----- -----
& # 289; corresponds ----- ġ --- -
& # 290;Corresponds ģ ----- -----
& # 291; corresponding to ģ ----- -----
& # 292; corresponding to H. ----- -----
& # 293; corresponding to H. ----- -----
& # 294; ħ corresponds ----- -----
& # 295; corresponding to ħ ----- -----
& # 296; ----- ĩ corresponds -----
& # 297; corresponding to ĩ ----- -----
& # 298; corresponds ī ----- -----
& # 299; ----- ī corresponds -----
& # 300; corresponding to Ĭ ----- -----
& # 301; corresponding to - ĭ ----- ----
& # 302; corresponding to į ----- -----
& # 303; corresponding to į ----- -----
& # 304; --- corresponding to ----- Inc. (www.i-levelmedia.com)
& # 305; corresponding to ı ----- -----
& # 306; corresponding to IJ ----- -----
& # 307; corresponds ----- ----- ij
& # 308; corresponding to Ĵ ----- -----
& # 309; corresponding to Ĵ ----- -----
& # 310; corresponds ----- Ķ- ----
& # 311; corresponding to ķ ----- -----
& # 312; corresponding to Download The ----- -----
& # 313; --- correspond ----- ĺ -
& # 314;Corresponds ĺ ----- -----
& # 315; corresponding to ļ ----- -----
& # 316; corresponding to ļ ----- -----
& # 317; corresponding to the element - an ----- -----
& # 318; corresponding to the element - an ----- -----
& # 319; corresponding to ŀ ----- -----
& # 320.; ----- ŀ corresponds -----
& # 321; corresponding to Ł ----- -----
& # 322; corresponds Ł ----- -----
& # 323; ----- ń corresponds -----
& # 324; ----- ń corresponds -----
& # 325; corresponding to - ņ ----- ----
& # 326; the corresponding ņ ----- -----
& # 327; the corresponding Ň ----- -----
& # 328; correspondence --- ----- --ň
& # 329; corresponding to ʼn ----- -----
& # 330.; ----- ŋ corresponds -----
& # 331; corresponds ----- ----- ŋ
& # 332; corresponding to ō ----- -----
& # 333; corresponding to ō ----- -----
& # 334; corresponds ----- Ŏ- ----
& # 335; corresponding to ŏ ----- -----
& # 336; corresponding to Ő ----- -----
& # 337; corresponds ----- ő --- -
& # 338;Corresponds Π----- -----
& # 339; œ to correspond ----- -----
& # 340; ----- Ŕ corresponds -----
& # 341; corresponding to ŕ ----- -----
& # 342; Ŗ ----- ----- correspond
& # 343; corresponding to ŗ ----- -----
& # 344; corresponding to r ----- -----
& # 345; corresponding to r ----- -----
& # 346; corresponds ś ----- -----
& # 347; corresponding to ś ----- -----
& # 348; corresponding to Ŝ ----- -----
& # 349; corresponding to - Ŝ ----- ----
& # 350; the corresponding ş ----- -----
& # 351; the corresponding ş ----- -----
& # 352; correspondence --- ----- --Š
& # 353; š corresponds ----- -----
& # 354; ----- ţ corresponds -----
& # 355; corresponds ----- ----- ţ
& # 356; corresponding to Ť ----- -----
& # 357; corresponding to Ť ----- -----
& # 358; corresponds ----- Ŧ- ----
& # 359; corresponding to Ŧ ----- -----
& # 360; corresponding to Ũ ----- -----
& # 361; corresponding to Ũ --- ----- -
& # 362;Corresponds Ū ----- -----
& # 363; corresponding to ū ----- -----
& # 364; corresponding to Ŭ ----- -----
& # 365; corresponding to ŭ ----- -----
& # 366; corresponding to ů ----- -----
& # 367; ----- ů corresponds -----
& # 368; corresponding to ű ----- -----
& # 369; corresponding to ű ----- -----
& # 370; corresponds ų ----- -----
& # 371; corresponding to ų ----- -----
& # 372; corresponding to Ŵ ----- -----
& # 373; corresponding to - ŵ ----- ----
& # 374; the corresponding ŷ ----- -----
& # 375; the corresponding ŷ ----- -----
& # 376; correspondence --- ----- --Ÿ
& # 377; corresponding to Ź ----- -----
& # 378; corresponding to ź ----- -----
& # 379; corresponds ----- ----- ż
& # 380; ----- ż corresponds -----
& # 381; ----- Ž corresponds -----
& # 382; corresponds ----- ž- ----

 

Guess you like

Origin blog.csdn.net/qiuchangyong/article/details/89484686