How to put this symbol: " ' " (simple Quotation mark) in a XMLfile of android?
i am translating some text into Italian, an i got an error on this line of the XML of the strings.xml because the ' symbol on L'utente:
<string name="usernotexist">L'utente non esiste</string>
how t开发者_JAVA百科o solve that error?
<string name="good_example">"This'll work"</string>
<string name="good_example_2">This\'ll also work</string>
Taken from the official documentation: http://developer.android.com/guide/topics/resources/string-resource.html
Try this
<string name="dialog">L\'tutente non esiste </string>
精彩评论