Displaying 2 results from an estimated 2 matches for "readconsoleinputa".
2018 Apr 28
2
[Bug report] Chinese characters are not handled correctly in Rterm for Windows
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\u4f60\u597dDEF") is printing two Chinese characters, right?
Yes. U+4F60, U+597D or C4E3,
2018 May 04
0
[Bug report] Chinese characters are not handled correctly in Rterm for Windows
Thanks for the update. I believe I've fixed a part of the problem you
have reported, the crash while entering Chinese characters to the
console (e.g. via Pinyin, the error message about invalid multibyte
character in mbcs_get_next). The fix is in R-devel 74693 - Windows
function ReadConsoleInputA no longer works with multibyte characters (it
is not documented, probably a Windows bug, according to reports online
this problem exists since Windows 8, but I only reproduced/tested in
Windows 10). Could you please verify the crash is no longer happening on
your system?
Re the other problem,...