Re: [Rd] [Bug report] Chinese characters are not handled correctly in Rterm for Windows

2018-05-07 Thread Azure
ot;)) fprintf(stderr, >"setlocale failed\n"); > int chars[] = { 67, 196, 227, 68 }; > for(int i = 0; i < 4; i++) fputc(chars[i], stdout); > fprintf(stdout, "\n"); > return 0; > } > >On 04/28/2018 04:53 PM, Azure w

[Rd] [Bug report] Chinese characters are not handled correctly in Rterm for Windows

2018-04-28 Thread Azure
Hi Tomas, Sorry for the delayed response. I have tested the problem on the latest R-devel build (2018-04-27 r74651), and it still exists. RGui is always fine with Chinese characters, but some IDEs rely on the CLI version of R (e.g. Visual Studio Code with R plugin). >Your example print("ABC\u

[Rd] [Bug report] Chinese characters are not handled correctly in Rterm for Windows

2018-03-08 Thread Azure
Hello everyone, I am new to R and I have experienced some bugs when using Rterm on Windows. Chinese characters in the console output are discarded by Rterm, and trying to type them into the console will crash the Rterm application. ---ENVIRONMENT--- Platform = x86_64-w64-mingw32 OS = Window