I know similar topics have been discussed here few years ago but i don’t find any appropriate solution.
Im deploying on rhel 7 server. After variable substitution, my ISO-8859 file are converted to UTF-8.
I use “Detect from template”. When I disable “Substitute Variables in Files” encoding is preserved.
Im using Octopus v2018.5.6.
Thank You in advance for your response.
Thanks for reaching out to Octopus.
It looks like you’ve run into this issue here: Powershell files with en-dash and other non-ASCII characters fail after upgrade · Issue #4613 · OctopusDeploy/Issues · GitHub and most likely the workaround described here would be the best way to get you unblocked:
The workaround is to add a step to your projects deployment processes with the following bash script to remove the BOM
sed -i '1 s/^\xef\xbb\xbf//' /path/to/deployment/*.conf
Do you think this workaround would apply to your use case? Please let me know.
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.