Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- 한글
- 미라지
- oracle not exists
- iTunes
- DATABASE
- 오라클
- 개발자
- error
- 링크
- 2NE1
- M480
- eclipse
- Modeling
- 이클립스
- 10g
- Oracle
- java
- SELECT UPDATE
- 설치
- jqeury
- 검색
- jquery
- javascript
- 다운로드
- oracle not in
- html
- Download
- input box
- update
- 태그를 입력해 주세요.
Archives
- Today
- Total
not set
눈물젖은 encoding ㅠ_ㅠ 본문
진작에 이 방법을 써서 할껄 흑흑
http://suya55.tistory.com/314 별따는 수야님께 너무 감사드린다. 흑흑. ㅠㅠ
String originalFileName ="한글!!! 한글!! abc#@$$";
System.out.println("====org=====");
System.out.println(originalFileName);
System.out.println("====8859-1=====");
System.out.println(new String( originalFileName.getBytes( "8859_1"), "KSC5601"));
System.out.println(new String( originalFileName.getBytes( "8859_1"), "EUC-KR"));
System.out.println(new String( originalFileName.getBytes( "8859_1"), "UTF-8"));
System.out.println("====KSC5601=====");
System.out.println(new String( originalFileName.getBytes( "KSC5601"), "8859_1"));
System.out.println(new String( originalFileName.getBytes( "KSC5601"), "EUC-KR"));
System.out.println(new String( originalFileName.getBytes( "KSC5601"), "UTF-8"));
System.out.println("====EUC-KR=====");
System.out.println(new String( originalFileName.getBytes( "EUC-KR"), "8859_1"));
System.out.println(new String( originalFileName.getBytes( "EUC-KR"), "KSC5601"));
System.out.println(new String( originalFileName.getBytes( "EUC-KR"), "UTF-8"));
System.out.println("====UTF-8=====");
System.out.println(new String( originalFileName.getBytes( "UTF-8"), "KSC5601"));
System.out.println(new String( originalFileName.getBytes( "UTF-8"), "8859_1"));
System.out.println(new String( originalFileName.getBytes( "UTF-8"), "EUC-KR"));