한글이 깨지는 경우는 정말 여러가지 일텐데요.
우선 윈도우와 리눅스간의 locale을 확인해 보십시요.
윈도우쪽은 제가 잘 몰라서 아마도 utf-8이 아닐까 하는데요.
리눇는 shell에 locale을 입력해서 해당 머신이 어떤 지역설정으로
구동되는지 확인해 보세요.
해결책은 해당 locale 정보를 맞추거나 윈도우 또는 리눅스 코드상에서
encoding을 바꾸어 줘야 할것 같네요.
iconv를 통해 한글 관련 파일의 encoding 전체를 바꾸거나 iconv(3)를
이용해서 해당 버퍼의 encoding 만을 바꿀 수 있습니다.
한글이 깨지는
한글이 깨지는 경우는 정말 여러가지 일텐데요.
우선 윈도우와 리눅스간의 locale을 확인해 보십시요.
윈도우쪽은 제가 잘 몰라서 아마도 utf-8이 아닐까 하는데요.
리눇는 shell에 locale을 입력해서 해당 머신이 어떤 지역설정으로
구동되는지 확인해 보세요.
해결책은 해당 locale 정보를 맞추거나 윈도우 또는 리눅스 코드상에서
encoding을 바꾸어 줘야 할것 같네요.
iconv를 통해 한글 관련 파일의 encoding 전체를 바꾸거나 iconv(3)를
이용해서 해당 버퍼의 encoding 만을 바꿀 수 있습니다.
참고로 머리가 좀 아플거 같네요.
-------------
포탈이는 불사신
-------------
포탈이는 불사신
답글 이제야 올립니다 ㅜ
감사합니다! 글 보고 감사하단 인사도 못올리고 작업에 열중한 것 같습니다.
해결은 locale정보를 맞추는 것으로 했습니다
감사합니다 ㅜㅜ
리눅스 공부좀 해야할 것 같습니다.
댓글 달기