В Wed, 19 Feb 2025 11:36:15 +0000 Paul Sherliker via R-help <r-help@r-project.org> пишет:
> text(1, 11, "baseline\255defined") > text(1, 9, "done") > graphics.off() > > They like that dash - but I never knew what it was called. > > Recently work updated my PC to the latest version of Windows, and, > perforce, I updated to the latest version of R (4.4.2). Nowadays, the session encoding on appropriately new versions of Windows is UTF-8 [*]. Previously, the native encoding of the R session corresponded to the ANSI encoding of your computer, most likely CP1252. Let's see what does \255 mean in that encoding: iconv('\255', 'CP1252', '') |> utf8ToInt() |> as.hexmode() # [1] "ad" Does '\uad' work for you? -- Best regards, Ivan [*] https://blog.r-project.org/2020/05/02/utf-8-support-on-windows/index.html ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide https://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.