Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo inline powershell encoding broken


After upgrading from 6.1 to 6.6 execution of inline PowerShell scripts seems to have had their encoding broken.

The system encoding was Cp1252 and this was the encoding of the PowerShell interpreter. However the encoding of the resulting script file from the Bamboo inline script appears to be in UTF-8 and as such the execution of the script will result in failure.

I’ve tried to change the system encoding (according to: but this did not solve the problem described.

I’ve checked the bamboo database (`Microsoft SQL Server 2014 - 12.0.2000.8 (X64)        Feb 20 2014 20:04:26                              Copyright (c) Microsoft Corporation                Express Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor)`) where the majority of the tables and columns seems to have ` collation_name = Finnish_Swedish_CS_AS` which seems fine to me.

If possible I guess I would like to force same encoding for interpreter and script file.

Thankful for any advice.


1 answer

1 accepted

0 votes
Answer accepted

No answer was found, we migrated our inline scripts to files where we could specify encoding.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

64 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you