[Rd] issue with print()ing multibyte characters on R 4.0.4
tom@@@k@||ber@ @end|ng |rom gm@||@com
Wed Feb 17 11:16:42 CET 2021
Thanks for the report, I can reproduce this on Windows, we'll investigate.
On 2/17/21 5:58 AM, Hiroaki Yutani wrote:
> Hi all,
> I saw several people on Japanese locale claim that, on R 4.0.4,
> print() doesn't display
> Japanese characters correctly. This seems to happen only on Windows
> and on macOS (I
> usually use Linux and I don't see this problem).
> For example, in the result below, "鬼" and "外" are displayed in
> "\uXXXX" format. What's
> curious here is that "は" is displayed as it is, by the way.
>  "\u9b3cは\u5916"
> But, if I use such functions as message() or cat(), the string is
> displayed as it is.
> Considering the fact that it seems only Windows and macOS are
> affected, I suspect this
> is somehow related to this change described in the release note,
> (though I have no idea
> what change this is):
> The internal table for iswprint (used on Windows, macOS and AIX) has been
> updated to include many recent Unicode characters.
> Before I'm going to file this issue on Bugzilla, I'd like to confirm
> if this is not the intended
> change, and, if this is actually intended, I want to discuss how to
> improve this behaviour.
> Hiroaki Yutani
> R-devel using r-project.org mailing list
More information about the R-devel