Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to define special characters in array implementing Java application?

Tags:

android

xml

I am implementing input method related application in Android. In this application I'm using special characters and symbols

Array.xml

 <item>a'</item>

a' is not reading remaining all numeric and alphabets are reading. How can implement special symbols reading scenario?

like image 446
Narasimha Avatar asked Apr 03 '12 19:04

Narasimha


1 Answers

in xml replace this ' character '

Some other xml characters

1. & - &amp; 
2. < - &lt;
3. > - &gt;
4. " - &quot;
5. ' - &#39;
6. { - &#123;
7. } - &#125;
8. @ - &#64;

ex:   a' Code  =   a&#39; Code

see this link for more characters...

EDIT1 03-12-2013

Above links seems broken now. Here are some other links

Link1 Link2 Link3 Link4 Hope this will help.

like image 126
MAC Avatar answered Sep 28 '22 07:09

MAC