Caught NPE on iOS caused by bug in iOS Strings not supporting UTF-16.  This is a workaround for
https://code.google.com/p/codenameone/issues/detail?id=1041
Updated javadocs