Skip to content

Powershell: issue with '' [Console]::OutputEncoding=[System.Text.Encoding]::UTF8' #9767

Description

@alainfrisch

What version of Codex is running?

0.89.0

What subscription do you have?

ChatGPT Business

Which model were you using?

No response

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What terminal emulator and version are you using (if applicable)?

Windows Terminal, codex launched from a Cygwin terminal

What issue are you seeing?

In a given session, most actions by Codex (Ran Get-Content ..., Ran rg ...) succeed but output:

Impossible de d‚finir la propri‚t‚. La d‚finition de propri‚t‚ n'est prise en charge que sur les types principaux dans
ce mode de langage.
Au caractŠre Ligne:1 : 1
+ [Console]::OutputEncoding=[System.Text.Encoding]::UTF8;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation : (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertySetterNotSupportedInConstrainedLanguage

Note: after the last Codex upgrade, I ran /permissions, and "installed" the new Windows sandbox. Might be related that, since the code produce this UTF-8 hasn't changed recently (last change: 33e1d08)

What steps can reproduce the bug?

Bug submitted with /feedback -> thread ID 019bea83-cfa5-7a73-a0e4-99683fde7892

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIIssues related to the Codex CLIbugSomething isn't workingsandboxIssues related to permissions or sandboxingwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions