"Lua utf8.codepoint()"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-==참고 자료== +==참고==))
13번째 줄: 13번째 줄:
* [[함수 ord()]]
* [[함수 ord()]]


==참고 자료==
==참고==
* https://stackoverflow.com/questions/13578171/get-code-point-of-character-in-lua
* https://stackoverflow.com/questions/13578171/get-code-point-of-character-in-lua


[[분류: Lua]]
[[분류: Lua]]

2017년 6월 30일 (금) 21:34 판

1 개요

Lua5.3 utf8.codepint()
  • Lua 5.3 버전 이상에서 가능
print( utf8.codepoint('A') )
// 65
print( utf8.codepoint('가') )
// 44032

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}