Skip to content

Fix 4746 tempfile enc issue - #4750

Closed
mwichmann wants to merge 2 commits into
SCons:masterfrom
mwichmann:fix_4746_TEMPFILE_ENC_ISSUE
Closed

Fix 4746 tempfile enc issue#4750
mwichmann wants to merge 2 commits into
SCons:masterfrom
mwichmann:fix_4746_TEMPFILE_ENC_ISSUE

Conversation

@mwichmann

Copy link
Copy Markdown
Collaborator

Remove this paragraph

Please have a look at our developer documentation before submitting your Pull Request.

https://scons.org/guidelines.html

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt and RELEASE.txt (and read the README.rst).
  • I have updated the appropriate documentation

bdbaddog and others added 2 commits July 20, 2025 20:49
….getpreferredencoding(False) instead of hardcoded utf-8
Alternate approach to avoid decoding problems: don't try to guess how
to encode the TEMPFILE.  Leave it utf-8 unless TEMPFILEENCODING is set.

Add comment to TEMPFILEDIR doc on the topic as well.

Signed-off-by: Mats Wichmann <mats@linux.com>
@mwichmann mwichmann closed this Jul 31, 2025
@mwichmann

Copy link
Copy Markdown
Collaborator Author

Invalid submission

@mwichmann
mwichmann deleted the fix_4746_TEMPFILE_ENC_ISSUE branch August 1, 2025 13:00
@mwichmann
mwichmann restored the fix_4746_TEMPFILE_ENC_ISSUE branch August 1, 2025 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants