0

This relates to the problem I'm trying to resolve here: Printing UTF-8 (Russian) characters in R, Rmd, knitr.

I was told that this problem does not exist if native locale was en_US.UTF-8. (My current native locale is English_Canada.1252.)

But I cannot just simply change my English_Canada.1252 to en_US.UTF-8. - When I try I get this error message:

> Sys.setlocale("LC_CTYPE", "en_US.UTF-8")
OS reports request to set locale to "en_US.UTF-8" cannot be honored[1] ""

Any idea how to resolve it?

IVIM
  • 2,167
  • 1
  • 15
  • 41
  • 1
    Are you on a windows machine? – amrrs Jan 19 '18 at 14:59
  • 1
    You must be on Windows, and there is no UTF-8 locale on Windows. – Yihui Xie Jan 19 '18 at 20:51
  • Yes, it is Windows, And YX has just found solution for me for my main original question (on how to print UTF-8 in windows with knitr in Rmd)! So the answer for this question is no longer needed (for me at least now...). – IVIM Jan 20 '18 at 03:48

1 Answers1

0

From above comments, this is not possible

IVIM
  • 2,167
  • 1
  • 15
  • 41