'2017/03'에 해당되는 글 1건

  1. 2017.03.21 자바 문자열 깨질때 인코딩 체크하기

어디선가 퍼왔는데 출처가 -_-;; 불펌 신고 하시면 자삭 하겠습니다.

 

new String( str.getBytes( "8859_1"), "KSC5601")

new String( str.getBytes( "8859_1"), "EUC-KR")

new String( str.getBytes( "8859_1"), "UTF-8")

new String( str.getBytes( "KSC5601"), "8859_1")

new String( str.getBytes( "KSC5601"), "EUC-KR")

new String( str.getBytes( "KSC5601"), "UTF-8")

new String( str.getBytes( "EUC-KR"), "8859_1")

new String( str.getBytes( "EUC-KR"), "KSC5601")

new String( str.getBytes( "EUC-KR"), "UTF-8")

new String( str.getBytes( "UTF-8"), "KSC5601")

new String( str.getBytes( "UTF-8"), "8859_1")

new String( str.getBytes( "UTF-8"), "EUC-KR")

new String(str.getBytes("8859_1"), "EUC-KR")

Posted by 오달봉
,