[Áú¹®]remove_high_ksc5601 ¸Þ¼Òµå¿¡ ´ëÇÏ¿©


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]

±Û¾´ÀÌ :À±°æ±¸ 1998³â 1¿ù 09ÀÏ 10:03:34

In Reply to: [ÀçÁú¹®] getBytes("KSC5601") ¿¡ °üÇÏ¿©... posted by ±èÇÊÈ£ on 1998³â 1¿ù 08ÀÏ 13:30:51:

±èÇÊÈ£ ±³¼ö´ÔÀÇ remove_high_ksc5601 ¸Þ¼Òµå´Â ÀÌÇØ°¡ ¾ÈµÇ´Â ºÎºÐÀÌ Àֳ׿ä.
byte[] kscBytes=str.getBytes("KSC5601");
klen=str.length();
¿©±â¿¡¼­ str.length()´Â ¹®Á¦°¡ ÀÖ´Â °Í °°½À´Ï´Ù.
klen=kscBytes.length;°¡ ÇÊ¿äÇÑ °Ô ¾Æ´Ò±î¿ä?
½ºÆ®¸µ°ú ¹ÙÀÌÆ® ¹è¿­ÀÇ ±æÀÌ°¡ °°´Ù´Â °¡Á¤¿¡¼­ Ãâ¹ßÇÑ °ÍÀÌ ¹®Á¦°¡ ¾Æ´Ò±î ÇÕ´Ï´Ù.
½ÇÁ¦·Î
String str="°¡°¢";
ÀÇ °æ¿ì
str.length() ¸Þ¼Òµå´Â 2¸¦ ¸®ÅÏÇÕ´Ï´Ù.
ÇÏÁö¸¸
byte b[]=str.getBytes("KSC5601");
ÀÇ °æ¿ì
b.length °ªÀº 4ÀÔ´Ï´Ù.
Á÷Á¢ Å×½ºÆ®Çغ¸¼¼¿ä...


´ÙÀ½ ±Ûµé:



À̾ ±Û¿Ã¸®±â(´äÇϱâ)

À̸§:
E-Mail:
Á¦¸ñ:
³»¿ë:
°ü·Ã URL(¼±ÅÃ):
URL Á¦¸ñ(¼±ÅÃ):
°ü·Ã À̹ÌÁö URL:


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]