사용자 도구

사이트 도구


unicode

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
unicode [2014/06/22 21:26]
kwon37xi
unicode [2015/05/08 17:29]
kwon37xi [Unicode]
줄 4: 줄 4:
   * [[http://helloworld.naver.com/helloworld/19187|hello world » 한글 인코딩의 이해 1편: 한글 인코딩의 역사와 유니코드]]   * [[http://helloworld.naver.com/helloworld/19187|hello world » 한글 인코딩의 이해 1편: 한글 인코딩의 역사와 유니코드]]
   * [[http://helloworld.naver.com/helloworld/76650|hello world » 한글 인코딩의 이해 2편: 유니코드와 Java를 이용한 한글 처리]]   * [[http://helloworld.naver.com/helloworld/76650|hello world » 한글 인코딩의 이해 2편: 유니코드와 Java를 이용한 한글 처리]]
 +  * [[http://www.utf8-chartable.de/unicode-utf8-table.pl|Unicode UTF-8 Table]]
 ===== 한글 ===== ===== 한글 =====
   * ''이 중 한글은 U+1100~U+11FF 사이에 한글 자모 영역, U+AC00~U+D7AF 사이의 한글 소리 마디 영역에 포함된다''   * ''이 중 한글은 U+1100~U+11FF 사이에 한글 자모 영역, U+AC00~U+D7AF 사이의 한글 소리 마디 영역에 포함된다''
줄 19: 줄 19:
 </code> </code>
   * [[http://www.fileformat.info/info/unicode/char/3000/index.htm|Unicode Character 'IDEOGRAPHIC SPACE' (U+3000)]]   * [[http://www.fileformat.info/info/unicode/char/3000/index.htm|Unicode Character 'IDEOGRAPHIC SPACE' (U+3000)]]
 +
 +===== Unicode To ASCII Escape =====
 +  * [[http://www.rapidmonkey.com/unicodeconverter/|Web Unicode Converter]]
 +  * [[http://stackoverflow.com/questions/6230190/convert-international-string-to-u-codes-in-java|unicode - Convert International String to \u Codes in java - Stack Overflow]]<code java>
 +StringBuilder b = new StringBuilder();
 +
 +for (char c : input.toCharArray()) {
 +    if (c >= 128)
 +        b.append("\\u").append(String.format("%04X", (int) c));
 +    else
 +        b.append(c);
 +}
 +
 +return b.toString();
 +</code>
 +