tidyverse-korea / statdata

통계팩키지 포함 데이터셋
https://tidyverse-korea.github.io/statdata
GNU General Public License v3.0
3 stars 5 forks source link

Vignette 소품 도움말 작성 한글 오류 #3

Open statkclee opened 3 years ago

statkclee commented 3 years ago

Vignette 소품 도움말 작성시 non-ASCII 문자라 에러가 가는데... 피해갈 방법이 없을까요?

https://tidyverse-korea.github.io/statdata/index.html

choonghyunryu commented 3 years ago

MS-Windows 10에서의 한글 이슈가 있네요. 개발 버전에서는 UTF-8을 지원하는 버전을 진행중인 것으로 알고 있는데, 아직 완료되지 않은 것 같습니다.

한글 로케일 변경이 안됩니다.

Sys.setlocale(category = "LC_CTYPE", locale = "ko_KR.UTF-8") [1] "" Warning message: In Sys.setlocale(category = "LC_CTYPE", locale = "ko_KR.UTF-8") : OS reports request to set locale to "ko_KR.UTF-8" cannot be honored

한글의 처리가 중요한만큼, 좀더 살펴봐야겠습니다.

euriion commented 3 years ago
  1. Vignette는 제가 한 번 보겠습니다.
  2. ko_KR.UTF-8은 Windows에서 지난 수년간아직 지원 안되고 있습니다. 최근까지도 en_US.UTF-8 만 적용이 가능했는데 그걸로 로케일을 바꾸면 메세지가 모두 영문으로 출력됩니다. 현재 Windows는 euc-kr을 쓰는 것이 한글을 쓸 때 가장 유리합니다.