250x250
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
- Tomcat
- MySQL
- MSSQL
- SpringBoot
- Thymeleaf
- Python
- IntelliJ
- error
- Exception
- myBatis
- maven
- Docker
- JDBC
- AJAX
- JavaScript
- Open Source
- PostgreSQL
- STS
- 오픈소스
- 설정
- jpa
- Core Java
- 문서
- git
- Eclipse
- spring
- Source
- oracle
- ubuntu
- Spring Boot
Archives
- Today
- Total
헤르메스 LIFE
[Source] Unicode To String 본문
728x90
import java.io.UnsupportedEncodingException; public class UniToString { public static void main(String[] args) { String hexStr = "\uc544\ub984\ub2e4\uc6b4"; String ls = null; try { ls = new String(hexStr.getBytes(), "UTF-8"); } catch(UnsupportedEncodingException e) { e.printStackTrace(); } System.out.println(ls); // 결과 : 아름다운 } }
728x90
'Core Java' 카테고리의 다른 글
[Source] Unicode 2.0 을 Unicode 1.2 로 변환 (0) | 2010.10.20 |
---|---|
[Source] Character Set Conversion (0) | 2010.10.20 |
[Source] String to Unicode (0) | 2010.10.20 |
[Source] CVS 폴더 삭제 (0) | 2010.09.06 |
[Source] FTP Client Source (0) | 2010.07.30 |