Repository navigation
produce separate UTF-8 rsession binary for ucrt builds - #10524
Merged
kevinushey merged 6 commits intoFeb 8, 2022
Merged
Conversation
|
FYI
|
kevinushey
force-pushed
the
feature/rsession-windows-utf8-alternate-binary
branch
from
February 8, 2022 20:52
4542464 to
02a6e67
Compare
kevinushey
marked this pull request as ready for review
February 8, 2022 22:23
gtritchie
approved these changes
Feb 8, 2022
|
|
||
| #ifdef _WIN32 | ||
|
|
||
| FilePath resolveSessionPathWin32(const FilePath& defaultPath) |
Member
There was a problem hiding this comment.
We'll need to port this over to Electron as well (in main). Perhaps open an issue to track doing that?
matheustavaresdev
added a commit
that referenced
this pull request
Feb 9, 2022
…on-test * 'main' of github.com:rstudio/rstudio: Fix duplicate menu separators (#10533) use RSTUDIO_CLI_HYPERLIKNS env var Mention issue number in NEWS. stamp version into Electron app (macOS) fix NEWS fix NEWS year produce separate UTF-8 rsession binary for ucrt builds (#10524) Check if load from base is masked before calling load workspace alternate mechanism for R_ResetConsole on Windows (#10510) rotate news files (#10528) Move old NEWS versions in version/news subdirectory Change name back to NEWS.md Add RSW section Add version numbering to NEWS file to avoid further conflicts/overwrites Remove GO NEWS files NEWS for Spotted Wakerobin only Support ansi hyperlinks (#10416) Update to Quarto v0.3.114
4 tasks done
This was referenced Dec 5, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
As discovered in #10507, requesting the use of a UTF-8 code page will cause issues with older versions of R. Unfortunately, because the application code page must be set at build time, the only apparent solution is to build and bundle two separate copies of the
rsession.exeexecutable -- one for older builds of R, and one for newer (UCRT) builds of R.Approach
Use CMake to produce two separate
rsessionbinaries, one using a "plain" manifest and one using a UTF-8 manifest.Automated Tests
N/A
QA Notes
To test, when running RStudio on Windows, try running something like:
On older versions of R (< 4.2.0), you should see:
On newer versions of R (>= 4.2.0), you should see:
Checklist
NEWS.md