JavaÓïÑÔÈçºÎ·ÃÎʲ»Í¬×Ö·û¼¯µÄOracleÊý¾Ý
Ò»¡¢java·ÃÎÊÖÐÎÄOracleÊý¾Ý¿âÉÏÁ¬½ÓµÄUS7ASCIIÊý¾Ý¿â
1¡¢¶Á·½·¨
public String convertLink_DB(String s) {
if(s != null){
try{
byte[] b = s.getBytes();
for(int i=0; i<b.length; i++){
b[i] = (byte)(b[i]-128);
}
return new String(b, "gb2312");
}catch(Exception e){
e.printStackTrace();
return "";
}
}
return "";
}
2¡¢Ð´·½·¨
public String convertLink_DB(String s) {
if(s != null){
try{
byte[] b = s.getBytes();
for(int i=0; i<b.length; i++){
b[i] = (byte)(b[i]+128);
}
return new String(b, "gb2312");
}catch(Exception e){
e.printStackTrace();
return "";
}
}
return "";
}
Ò»¡¢java·ÃÎÊÓ¢ÎÄOracleÊý¾Ý¿â
1¡¢¶Á
new String(s, "gb2312");
2¡¢Ð´
new String(s, "8859-1");
Ïà¹ØÎĵµ£º
תÌù£ºhttp://java.ccidnet.com/art/3539/20070924/1222147_1.html
JAVA·´Éä»úÖÆ
JAVA·´Éä»úÖÆÊÇÔÚÔËÐÐ״̬ÖУ¬¶ÔÓÚÈÎÒâÒ»¸öÀ࣬¶¼Äܹ»ÖªµÀÕâ¸öÀàµÄËùÓÐÊôÐԺͷ½·¨£»¶ÔÓÚÈÎÒâÒ»¸ö¶ÔÏ󣬶¼Äܹ»µ÷ÓÃËüµÄÈÎÒâÒ»¸ö·½·¨£»ÕâÖÖ¶¯Ì¬»ñÈ¡µÄÐÅÏ¢ÒÔ¼°¶¯Ì¬µ÷ÓöÔÏóµÄ·½·¨µÄ¹¦ÄܳÆΪjavaÓïÑԵķ´Éä»ú ......
×î½üÂÛ̳ÉÏ¿´µ½ºÃ¼¸¸öÅóÓѶ¼ÔÚÎÊ£¬ÈçºÎѧϰ JavaµÄÎÊÌ⣬”ÎÒÒѾѧϰÁËJ2SE,ÔõôÑù²ÅÄÜתÏòJ2EE?”, “ÎÒ¿´ÍêÁËThinking in Java, ¿ÉÒÔѧϰJ2EEÁËô?”.ÓÚÊǾÍÓÐÁËдÕâƪÎÄÕµÄÏë·¨£¬Ï£ÍûÄÜ°ïÖú³õѧÕßÉÙ×ßһЩÍä·¡£Ò²ËãÊǶÔ×Ô¼º¼¸ÄêÀ´Ñ§Ï°JavaµÄÒ»¸ö×ܽá°É.
ÔÚ¿ªÊ¼Ö®Ç°ÓбØÒªÔÙÌÖÂÛÒ»ÏÂJ2ME, ......
JavaÖÐÒ²ÓÐÀàËÆÓÚcodesmithµÄ´úÂëÉú³É¹¤¾ß£¬²»¹ý¿ªÔ´µÄ»òÃâ·ÑµÄͦ¶à£¬ÒÔϼòµ¥½éÉÜ£º
1.spring roo
spring¹Ù·½ÏîÄ¿Ö®Ò»¡£
2.m2Spring
òËÆÉÌÒµµÄ¡£
3.springside
¹ú²úµÄ£¬×÷Õßcsdn½ÄÏ°×ÒÂ
4.rapid-framework
ºÃÏñÒ²Êǹú²úµÄ
5. seam gen
jboss seam ´úÂë× ......
Java´®¿ÚͨѶ
´®ÐÐͨѶÐÒéÓкܶàÖÖ£¬ÏñRS232£¬RS485£¬RS422£¬ÉõÖÁÏÖ½ñÁ÷ÐеÄUSBµÈ¶¼ÊÇ´®ÐÐͨѶÐÒé¡£¶ø´®ÐÐͨѶ¼¼ÊõµÄÓ¦ÓÃÎÞ´¦²»ÔÚ¡£¿ÉÄÜ´ó¼Ò¼ûµÄ×î¶à¾ÍÊǵçÄԵĴ®¿ÚÓëModemµÄͨѶ¡£¼ÇµÃÔÚPC»ú¸Õ¿ªÊ¼ÔÚÖйúÁ÷ÐÐÆðÀ´Ê±(´óÔ¼ÊÇÔÚ90Äê´úÇ°ÎåÄê)£¬ÄÇʱÉõÖÁÓÐÈËÓÃÒ»Ìõ´®ÐÐÏß½øÐÐÁ½Ì¨µçÄÔÖ®¼äµÄÊý ......