´äº¯


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

±Û¾´ÀÌ :±è´öÅ 1998³â 1¿ù 05ÀÏ 18:37:07

In Reply to: [¼Ò°³] "Java¿Í ÇѱÛ" - °Ô½ÃÆÇ posted by ±èÇÊÈ£ on 1998³â 1¿ù 01ÀÏ 13:58:01:

remove... ¶ó´Â ¸Þ½îµå´Â ºÒÇÊ¿äÇÑ °Í °°±º¿ä.
ÀÚ¹Ù 1.1 ȯ°æ¿¡¼­´Â DataInputStreamÀÇ readLine ¸Þ½îµå ´ë½Å
BufferedReaderÀÇ readLine ¸Þ½îµå¸¦ »ç¿ëÇÏ¸é ±×·± ¹®Á¦°¡ »ý±âÁö ¾ÊÀ¸¸ç,
ÀϹÝÀûÀÎ °æ¿ì ÀÌ ¹æ¹ýÀÌ °¡Àå ÀûÀýÇÕ´Ï´Ù.


¶ÇÇÑ, BufferedReader¸¦ ¾²Áö ¾Ê°í DataInputStreamÀÇ readLineÀ» »ç¿ëÇÏ°íÀÚ ÇÒ °æ¿ì,
8859_1 ¹®ÀÚ·Î À߸ø º¯È¯µÈ ¹®ÀÚ¿­À» ¿ø·¡ÀÇ ¹ÙÀÌÆ® ¹è¿­·Î µÇµ¹¸° ÈÄ
´Ù½Ã À¯´ÏÄÚµåÀÇ ¹®ÀÚ¿­·Î ¹Ù²Ù¾îÁÖ°Ô µÇ¸é Á¦´ë·Î ÇѱÛÀ» Á¦´ë·Î º¼ ¼ö ÀÖ½À´Ï´Ù.
ÀÌ¿Í °°Àº ¹æ¹ýÀº ¹®ÀÚ º¯È¯ÀÌ À߸øµÈ ¹®ÀÚ¿­À» º¹±¸ÇÏ´Â µ¥
ÀÚ¹Ù 1.1 ȯ°æ¿¡¼­ ¸¹ÀÌ ¾²ÀÏ ¼ö ÀÖ´Â °£´ÜÇϸ鼭 ÀϹÝÀûÀÎ ¹æ¹ýÀÔ´Ï´Ù.


remove... ¸Þ½îµå¸¦ È£ÃâÇÏ´Â ºÎºÐÀ» ´ÙÀ½°ú °°ÀÌ ¹Ù²Ù¾îÁ־ µ¿ÀÏÇÑ È¿°ú¸¦ °°½À´Ï´Ù.



// line2 = remove_high_ksc5601(line);
// ======>


line2 = "";
try
{ line2 = new String(line.getBytes("8859_1"));
} catch (java.io.UnsupportedEncodingException e)
{ System.err.println(e.toString());
}




´ÙÀ½ ±Ûµé:



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

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


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