setlocale 함수로 설정된 인코딩으로 출력이 됩니다. 기본 locale은 OS마다 다를수 있으므로 도움말을 참고해보세요.
-------------------------------------------------------------------------------
It's better to appear stupid and ask question than to be silent and remain stupid.
-------------------------------------------------------------------------------
It's better to appear stupid and ask question than to be silent and remain stupid.
아 중요한걸 빼먹었네요
printf함수에서 출력되는 문자입니다.
혹 GCC에서도 가능하다면 옵션을 알려주세요.(아마 옵션이 있겠죠;;;)
인코딩은...
콘솔에서 한글이 출력된다면 인코딩은 콘솔에서 사용하고 있는 인코딩으로 나오겠지요. 위도에서라면 아마도 eucKR이지 않을까요.
블로그: http://turtleforward.blogspot.com
setlocale 함수로
setlocale 함수로 설정된 인코딩으로 출력이 됩니다. 기본 locale은 OS마다 다를수 있으므로 도움말을 참고해보세요.
-------------------------------------------------------------------------------
It's better to appear stupid and ask question than to be silent and remain stupid.
-------------------------------------------------------------------------------
It's better to appear stupid and ask question than to be silent and remain stupid.
댓글 달기