Skip to content

Encrypted file has different encoding #1737

Closed Answered by s-horbach
s-horbach asked this question in Q&A
Discussion options

You must be logged in to vote

The issue was in PowerShell, where i ran the command - by default it uses UTF-16 when the command output is redirected to a file, for instance: values.local.yaml > values.local.enc.yaml (more details: Changing PowerShell's default output encoding to UTF-8)

When i run exactly the same command in cmd.exe or just use --output flag - it works as expected.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@s-horbach
Comment options

@s-horbach
Comment options

Answer selected by s-horbach
@felixfontein
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants