ITeye博客

中文繁体unicode 范围

geshenyi · 2011-10-26 10:34 · J2EE · 编程语言 · Markdown

String temp = "我是XXXkevin很愛很愛繁體字の"; for(int i=0;i<temp.length();i++){ char c = temp.charAt(i); if(c >= '\u4E00' && c<='\u9FA5'){ System.out.println("true"); }else{ System.out.println("false"); } }

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。