Skip to content

Set PYTHONUTF8=1 in Windows env files#3

Merged
codemedic merged 1 commit intomainfrom
feature/pythonutf8-windows
Mar 4, 2026
Merged

Set PYTHONUTF8=1 in Windows env files#3
codemedic merged 1 commit intomainfrom
feature/pythonutf8-windows

Conversation

@oliver-cieliszak-natterbox
Copy link
Contributor

Summary

  • Adds PYTHONUTF8=1 to generated env.ps1 (conditional on Windows) and env.bat
  • Ensures Python defaults to UTF-8 encoding in managed-python sessions on Windows
  • No change to env.sh — Linux/macOS already defaults to UTF-8

Test plan

  • Run install.ps1 on Windows, verify env.ps1 contains $env:PYTHONUTF8 = "1"
  • Run install.ps1 on Windows, verify env.bat contains SET PYTHONUTF8=1
  • Run install.sh on Linux/macOS, verify env.ps1 does NOT contain PYTHONUTF8

🤖 Generated with Claude Code

Adds PYTHONUTF8=1 to env.ps1 (Windows only) and env.bat so that
Python defaults to UTF-8 encoding in managed-python sessions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@codemedic codemedic merged commit e8af4fe into main Mar 4, 2026
4 checks passed
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