In the textview, all I see is “s” when I should have “sì”
My values-it/strings.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="msg_yes">sì</string>
And my code:
txtMsg.setText(R.string.msg_yes);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I just tested on my Samsung Nexus S running Jellybean by copying/pasting and I found that both in the preview pane and on my device the character was displayed correctly. This may have to do with OS version, phone, font, theme, or some other factor…