title: Storing Fractional character in string values android
body: <p>When storing fractional numbers eg 1/2 in strings.xml:</p>
  <pre><code>&lt;string-array name=&quot;array_fractionals&quot;&gt;
      &lt;item&gt;0&lt;/item&gt;
      &lt;item&gt;1/2&lt;/item&gt;
       &lt;item&gt;1/5&lt;/item&gt;
      &lt;item&gt;1/8&lt;/item&gt;
  &lt;/string-array&gt;
  </code></pre>
  <p>It get a suggestion to use it like:</p>
  <pre><code>    &lt;item&gt;&lt;![CDATA[&amp;#8531;]]&gt;&lt;/item&gt;
      &lt;item&gt;&lt;![CDATA[&amp;#188;]]&gt;&lt;/item&gt;
  </code></pre>
  <p>And when I take suggestion retrive values:</p>
  <pre><code>String[] array_frac=getResources().getStringArray(R.array.array_fractionals);
              numberPickerTwo.setDisplayedValues(array_frac);
  </code></pre>
  <p>It won't print &quot;1/2&quot; but will show the below:
  what is the mechanism required to decode that to fractional character?</p>
  <p><a href="https://i.stack.imgur.com/6K0DH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6K0DH.png" alt="enter image description here" /></a></p>