Skip to content
Prev 60708 / 63421 Next

Rgui.exe 4.2.0 does not receive characters via the Windows API's PostMessage function

On 5/6/22 07:03, jcfaria wrote:
I can't provide a good guess what impacted your use, but if you could 
give me a full example, ideally in C, which can be compiled with 
Rtools42 (so gcc, MinGW) and I can edit/recompile, and works with R 4.1, 
I am happy to help debugging on 4.2.

Rgui now uses GraphApp Unicode windows on systems where it didn't 
before, because it uses UTF-8 also on systems it didn't before (on 
systems that would use a single-byte locale in R 4.1). These Unicode 
windows are a different code path and there may be bugs not reported 
previously, including processing inputs (recently I fixed handling of 
accents, for example). Otherwise indeed R now uses UTF-8 as native 
encoding and UCRT as the C runtime.

Best
Tomas

Thread (13 messages)