-
Notifications
You must be signed in to change notification settings - Fork 969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force file.encoding
to utf-8
#3068
Comments
Yes, we should do this. But, we need to test it properly. We've never been able to properly reproduce a different encoding. |
Adding my comment from #3079 (comment)
Correct, I was talking about this with @maheshp yesterday. And realized that this does not feel like it's the right approach to the problem. Here's what we discussed — GoCD "reads" bytes from various streams. The encoding of these streams is not directly controlled by GoCD —
Git, SVN and HG support a For As far as reading these console outputs is concerned — I'm not sure what's the best way to proceed, I'm sure As far as console output for builds is concerned, we might need to consider not reading the output as |
Closed via #4044 |
Issue Type
Summary
Currently the file encoding depends on a variety of factors, which causes unexpected behavior wrt server and db functionality. Additionally different encodings on the server and agent process also means that the console logs sometimes get rendered with unexpected glyphs.
Would like to change the encoding on the server, using the startup scripts, which seems fairly straightforward - with an option to override it if necessary. It seems that a change on the agent startup scripts would not necessarily help users who are upgrading, we may need to consider putting in some code in the launcher to force the encoding, with some options to be able to override it.
The text was updated successfully, but these errors were encountered: