I am using WebView to display a String resource. Here is the code -
WebView
<string name="abc">Γ </string> <string name="abcd">Γ¨</string>
When I load this into my WebView , it displays some garbage values. How to display these special characters in WebView ??
Check this list of special characters and how to code in html.
<string name="abc">à</string> <string name="abc">è</string>
If you enter these values ββinto your XML values ββusing a graphical interface, the IDE will automatically format them for you.
XML
Put the character code in the string tag:
<string name="welcome">Welcome !</string>
The result will look like this: Welcome!
For more character code use the link below:
http://www.degraeve.com/reference/specialcharacters.php
Enjoy ...
Source: https://habr.com/ru/post/1497998/More articles:Hursell's recursive confusion - recursionweird behavior of custom system class loader and MessageDigest - javaEclipse RCP / JFace Wizard - How to programmatically force wizardDialog to close from wizardPage - javaBold or italic text in Toast without creating a View? - androidHow to get html presentation and return to the client side - asp.net-mvcUnable to get Twitter.Bootstrap.Mvc4.sample working in empty MVC4 project - twitter-bootstrapNo style in MVC 4 pages with Twitter Bootstrap - twitter-bootstrapA machine learning dataset that has something to do with education - machine-learningrun IntentService several times. - androidC ++ vector vector size - c ++All Articles