I'd like to convert a char
to lower case in a J2ME app. The usual Character.toLowerCase()
doesn't work for an arbitrary Unicode character in J2ME, so I need some light API, or, preferably, a piece of code that would do so.
Thanks!
I'd like to convert a char
to lower case in a J2ME app. The usual Character.toLowerCase()
doesn't work for an arbitrary Unicode character in J2ME, so I need some light API, or, preferably, a piece of code that would do so.
Thanks!
I just copied some of the stuff from Java SE 1.3 and included it in my J2ME app. Generally, it's a few methods and three big arrays from the
Character
class.Based on the
toLowerCase()
method fromCharacter
in JavaSE JDK:You can read the source code from the JDK and understand what is really done here and apply the same thing with your own classes in JME.
Resources :
Character.toLowerCase()