Hi all!
Some question regarding apostrophe as part of string-array items.
I have string array defined as following:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="my_arry">
<item>Men's info</item>
<item>Dummy info</item>
</string-array>
</resources>
In code I'm getting the values into string array
String my_array[] = this.getResources().getStringArray
(R.array.my_array_id);
String myFirstString = my_array[0];
The displayed myFirstString is - "Mens info" without apostrophe.
I changed it to following using ascii code
<string-array name="my_arry">
<item>Men's info</item>
<item>Dummy info</item>
</string-array>
Same result.
Thanks in advance,
Evgeny
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---