Examples of UnicodeBlock


Examples of java.lang.Character.UnicodeBlock

            char ch=myBuffer[i];
            if((int)ch<10){
              sb.append("\\u000"+(int)ch);
              continue;
            }
           UnicodeBlock ub = UnicodeBlock.of(ch);
              if(ub == UnicodeBlock.BASIC_LATIN){
               //英文及数字等
               sb.append(myBuffer[i]);
              }else if(ub == UnicodeBlock.HALFWIDTH_AND_FULLWIDTH_FORMS){
               //全角半角字符
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.