Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- json
- FOR
- Linux
- Close
- API
- GO 언어
- range
- tcp
- c++
- channel
- package
- C
- write
- JavaScript
- 리뷰
- mutex
- go
- bitcoin
- File
- windows
- Python
- http
- 책
- window
- Callback
- go언어
- 영화
- Golang
- install
- Sync
Archives
- Today
- Total
목록UTF-8 (1)
Code Habit
c/c++ 문자열 변환 : 멀티바이트 <-> 유니코드 <-> UTF-8
* 유니코드 -> 멀티바이트 wchar_t strUni[256] = L"유니코드"; char strUtf8[256] = { 0, }; int nLen = WideCharToMultiByte(CP_UTF8, 0, strUni, lstrlenW(strUni), NULL, 0, NULL, NULL); WideCharToMultiByte(CP_UTF8, 0, strUni, lstrlenW(strUni), strUtf8, nLen, NULL, NULL); * 멀티바이트 -> 유니코드 wchar_t strUnicode[256] = { 0, }; char strMultibyte[256] = { 0, }; wcscpy_s(strUnicode, 256, L"유니코드"); int len = WideCharToMultiBy..
카테고리 없음
2021. 6. 29. 12:32