Note: this is fixed in R-4.0.5! Great!!!

This is a bug report against R-4.0.4.pkg downloaded from https://cran.csie.ntu.edu.tw/

I install it on OSX 10.15.7. I found the Unicode character can’t be properly output unless use function like cat()

The Chinese character there means “good”. In this case, the default output is not ok. I also test the console mode, still can reproduce this issue.

I try to compile from source code with the Xcode on my machine, with

> Apple clang version 12.0.0 (clang-1200.0.32.29)
> Target: x86_64-apple-darwin19.6.0

> + gfortran-8.2-Mojave.dmg
> + pcre2–10.36.tar.bz2
> + xz-5.2.5.tar.gz

run on the terminal, can’t reproduce this issue. Here is the screenshot:

--

--