全形 半形 / Java入門一般區 / 程式設計俱樂部
2002/3/29 下午 05:33:42 import java.io.*; class checkChar {public static void main(String[] args) throws UnsupportedEncodingException {String x = "20 "; String UTF = new String(x.getBytes(),"ISO-8859-1"); if (x.length()!=UTF.length()) System.out.println("C"
www.programmer-club.com.tw |