Error messages are not properly displayed in the console

Hello, I hope this thread finds you well.

A problem I am suffering from is that error messages are displayed being 'broken'. The example is:

Error in glm.fit(x = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, :
'x' ³»¿¡ NA/NaN/Inf°¡ ÀÖ½À´Ï´Ù
In addition: Warning message:
¼ö·ÅÇÏÁö ¾Ê±â ¶§¹®¿¡ step size´Â Àß·ÁÁ³½À´Ï´Ù

I am a South Korean user so I think that it is a kind of encoding problem but I cannot figure out how to fix it... When I installed RStudio, as far as I remember, I did not choose Korean as a preferred language, if there was a display for selecting one.

I would be highly appreciated if someone help me with this.

Can you also let us know what operating system, what version of R, and what version of RStudio you have installed? Are you using one of the official R binaries, or are you using e.g. an Anaconda installation of R?

Thank you for your response!

Windows 10 / Version 1.0.153 / Official R. (Anaconda is installed after I
installed R & Rstudio though.)

Thanks! One more question -- can you also supply the output of

utils::sessionInfo()

so we can know what locale you're working in?

You might also want to try upgrading to the preview release of RStudio, currently available at https://www.rstudio.com/products/rstudio/download/preview/, as this release contains some fixes for encoding-related issues on Windows.

The information displayed in the Rstudio is as follows:
R version 3.4.1 (2017-06-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=Korean_Korea.949 LC_CTYPE=Korean_Korea.949
LC_MONETARY=Korean_Korea.949 LC_NUMERIC=C
[5] LC_TIME=Korean_Korea.949

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] statmod_1.4.30 lmvar_1.4.0 psych_1.7.8 ggplot2_2.2.1
mhurdle_1.1-7 texreg_1.36.23 survival_2.41-3
[8] truncreg_0.2-4 Formula_1.2-2 ihs_1.0 maxLik_1.3-4
miscTools_0.6-22 MASS_7.3-48

loaded via a namespace (and not attached):
[1] Rcpp_0.12.14 splines_3.4.1 mnormt_1.5-5 munsell_0.4.3
colorspace_1.3-2 lattice_0.20-35 rlang_0.1.6
[8] plyr_1.8.4 tools_3.4.1 parallel_3.4.1 grid_3.4.1
nlme_3.1-131 gtable_0.2.0 lazyeval_0.2.1
[15] digest_0.6.13 tibble_1.3.4 Matrix_1.2-10 labeling_0.3
sandwich_2.4-0 compiler_3.4.1 scales_0.5.0
[22] foreign_0.8-69 zoo_1.8-0