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
- 이클립스
- javascript
- input box
- 2NE1
- error
- 오라클
- Oracle
- Download
- SELECT UPDATE
- 한글
- oracle not exists
- update
- java
- 설치
- 미라지
- 검색
- Modeling
- iTunes
- M480
- eclipse
- 개발자
- 태그를 입력해 주세요.
- html
- 10g
- 링크
- DATABASE
- 다운로드
- jqeury
- oracle not in
- jquery
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"));