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

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -