Transcoding for Android Special symbols

Source: Internet
Author: User

In the project to display special symbols in the string.xml, such as the @ colon, and so on, direct write certainly not. Only consider using ASCII code for display:

<string name= "Password" > Secret & #160;& #160;& #160;& #160; code </string>


@ No. & #064;
: No. & #058;
Spaces & #160;


The following are common ASCII decimal interchange encodings:

& #032;--> <--This is a space.
& #033;-->!<--
& #034;--> "<--XML needs to be added in front of \
& #035;-->#<--
& #036;-->$<--
& #037;-->%<--
& #038;-->&<--
& #039;--> ' <--
& #040;--> (<--
& #041;-->) <--
& #042;-->*<--
& #043;-->+<--
& #044;-->,<--
& #045;-->-<--
& #046;-->.<--
& #047;-->/<--
& #058;-->:<--
& #059;-->;<--
& #060;--><<--
& #061;-->=<--
& #062;-->><--
& #063;-->?<--
& #064;-->@<--
& #091;-->[<--
& #092;-->--
& #093;-->]<--
& #094;-->^<--
& #095;-->_<--
& #096;--> ' <--
& #123;-->{<--
& #124;-->|<--
& #125;-->}<--
& #126;-->~<--
& #160;--> <--This is a space that is not ignored in the first character of the XML
& #161;-->¡<--
& #162;-->¢<--
& #163;-->£<--
& #164;-->¤<--
& #165;-->¥<--
& #166;-->¦<--
& #167;-->§<--
& #168;-->¨<--
& #169;-->©<--
& #170;-->ª<--
& #171;-->«<--
& #172;-->¬<--
& #173;--><--
& #174;-->®<--
& #175;-->¯<--
& #176;-->°<--
& #177;-->±<--
& #178;-->²<--
& #179;-->³<--
& #180;-->´<--
& #181;-->µ<--
& #182;-->¶<--
& #183;--> <--
& #184;-->¸<--
& #185;-->¹<--
& #186;-->º<--
& #187;-->»<--
& #188;-->¼<--
& #189;-->½<--
& #190;-->¾<--
& #191;-->¿<--
& #192;-->à<--
& #193;-->á<--
& #194;-->â<--
& #195;-->ã<--
& #196;-->ä<--
& #197;-->å<--
& #198;-->æ<--
& #199;-->ç<--
& #200;-->è<--
& #201;-->é<--
& #202;-->ê<--
& #203;-->ë<--
& #204;-->ì<--
& #205;-->í<--
& #206;-->î<--
& #207;-->ï<--
& #208;-->ð<--
& #209;-->ñ<--
& #210;-->ò<--
& #211;-->ó<--
& #212;-->ô<--
& #213;-->õ<--
& #214;-->ö<--
& #215;-->x<--
& #216;-->ø<--
& #217;-->ù<--
& #218;-->ú<--
& #219;-->û<--
& #220;-->ü<--
& #221;-->ý<--
& #222;-->þ<--
& #223;-->ß<--
& #224;-->à<--
& #225;-->á<--
& #226;-->â<--
& #227;-->ã<--
& #228;-->ä<--
& #229;-->å<--
& #230;-->æ<--
& #231;-->ç<--
& #232;-->è<--
& #233;-->é<--
& #234;-->ê<--
& #235;-->ë<--
& #236;-->ì<--
& #237;-->í<--
& #238;-->î<--
& #239;-->ï<--
& #240;-->ð<--
& #241;-->ñ<--
& #242;-->ò<--
& #243;-->ó<--
& #244;-->ô<--
& #245;-->õ<--
& #246;-->ö<--
& #247;-->÷<--
& #248;-->ø<--
& #249;-->ù<--
& #250;-->ú<--
& #251;-->û<--
& #252;-->ü<--
& #253;-->ý<--
& #254;-->þ<--
& #255;-->ÿ<--
& #256;-->ā<--
& #257;-->ā<--
& #258;-->?<--
& #259;-->?<--
& #260;-->?<--
& #261;-->?<--
& #262;-->?<--
& #263;-->?<--
& #264;-->?<--
& #265;-->?<--
& #266;-->?<--
& #267;-->?<--
& #268;-->?<--
& #269;-->?<--
& #270;-->?<--
& #271;-->?<--
& #272;-->?<--
& #273;-->?<--
& #274;-->ē<--
& #275;-->ē<--
& #276;-->?<--
& #277;-->?<--
& #278;-->?<--
& #279;-->?<--
& #280;-->?<--
& #281;-->?<--
& #282;-->ě<--
& #283;-->ě<--
& #284;-->?<--
& #285;-->?<--
& #286;-->?<--
& #287;-->?<--
& #288;-->?<--
& #289;-->?<--
& #290;-->?<--
& #291;-->?<--
& #292;-->?<--
& #293;-->?<--
& #294;-->?<--
& #295;-->?<--
& #296;-->?<--
& #297;-->?<--
& #298;-->ī<--
& #299;-->ī<--
& #300;-->?<--
& #301;-->?<--
& #302;-->?<--
& #303;-->?<--
& #304;-->?<--
& #305;-->?<--
& #306;-->?<--
& #307;-->?<--
& #308;-->?<--
& #309;-->?<--
& #310;-->?<--
& #311;-->?<--
& #312;-->?<--
& #313;-->?<--
& #314;-->?<--
& #315;-->?<--
& #316;-->?<--
& #317;-->?<--
& #318;-->?<--
& #319;-->?<--
& #320;-->?<--
& #321;-->?<--
& #322;-->?<--
& #323;-->?<--
& #324;-->ń<--
& #325;-->?<--
& #326;-->?<--
& #327;-->?<--
& #328;-->ň<--
& #329;-->?<--
& #330;-->?<--
& #331;-->?<--
& #332;-->ō<--
& #333;-->ō<--
& #334;-->?<--
& #335;-->?<--
& #336;-->?<--
& #337;-->?<--
& #338;-->œ<--
& #339;-->œ<--
& #340;-->?<--
& #341;-->?<--
& #342;-->?<--
& #343;-->?<--
& #344;-->?<--
& #345;-->?<--
& #346;-->?<--
& #347;-->?<--
& #348;-->?<--
& #349;-->?<--
& #350;-->?<--
& #351;-->?<--
& #352;-->š<--
& #353;-->š<--
& #354;-->?<--
& #355;-->?<--
& #356;-->?<--
& #357;-->?<--
& #358;-->?<--
& #359;-->?<--
& #360;-->?<--
& #361;-->?<--
& #362;-->ū<--
& #363;-->ū<--
& #364;-->?<--
& #365;-->?<--
& #366;-->?<--
& #367;-->?<--
& #368;-->?<--
& #369;-->?<--
& #370;-->?<--
& #371;-->?<--
& #372;-->?<--
& #373;-->?<--
& #374;-->?<--
& #375;-->?<--
& #376;-->ÿ<--
& #377;-->?<--
& #378;-->?<--
& #379;-->?<--
& #380;-->?<--
& #381;-->?<--
& #382;-->?<--

Transcoding for Android Special symbols

Related Article
Large-Scale Price Reduction
  • 59% Max. and 23% Avg.
  • Price Reduction for Core Products
  • Price Reduction in Multiple Regions
undefined. /
Connect with us on Discord
  • Secure, anonymous group chat without disturbance
  • Stay updated on campaigns, new products, and more
  • Support for all your questions
undefined. /
Free Tier
  • Start free from ECS to Big Data
  • Get Started in 3 Simple Steps
  • Try ECS t5 1C1G
undefined. /

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.