unicode - How to test for Greek Letters in java -


so program requires me test greek letter delta. i've found unicode value \u0394 translates δ. statement not run, meaning not read delta. here getxunit returns string value of unit, should delta, when printed returns ?.

if(getspectrum().getxunit().equals("\u03b4"){   //do stuff } 

how accomplish this?


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -