728x90 java encode1 자바 한글 인코딩 변환 / Java Korean Encoding & Decoding 자바 한글 인코딩 변환 샘플 String word = "자바 한글 인코딩 변환 샘플"; // UTF-8 System.out.println("utf-8 -> euc-kr : " + new String(word.getBytes("utf-8"), "euc-kr")); System.out.println("utf-8 -> ksc5601 : " + new String(word.getBytes("utf-8"), "ksc5601")); System.out.println("utf-8 -> x-windows-949 : " + new String(word.getBytes("utf-8"), "x-windows-949")); System.out.println("utf-8 -> iso-8859-1 : " + new String(.. 2015. 3. 10. 이전 1 다음 728x90