Doesn’t read utf-8 . it outputs avado kedabro on the screen.
Help me out
Hi there,
“it doesn’t work” is always hard to remote debug. Try to always include these 3 things.
- what did you try? (Code samples, command lines, screenshots, videos, etc)
- what did happen? (Error messages, description, outputs, stuff)
- what did you expect to happen?
Otherwise, it’s hard for us to get into your context and you’ll have to have someone who is exactly knowledgeable come along.
Thank you, I’ve already figured it out.
If you don’t mind telling me, please tell me.
I run my jenkins java -jar jenkins.war.
And specify -Dfile.encoding=CP866 before -jar
But I also have a Jenkins server which starts its services, maybe you know where I should write -Dfile.encoding=CP866.
Maybe in what XML?
Thanks.
The project is being built and files are checked for commit, and there are files with CP866 encoding, Jenkins sees them in bad quality.
I want to run Jenkins with CP866 by default, if I do it with -jar, I know how to do it, if I do it with my Jenkins service I do not know where to add encoding
win srv
And a question like this, for the future me.
Where does Jenkins look when it takes the encoding.
Thanks
I prefer Jenkins with the UTF-8 character set. I assume that Jenkins relies on the Java virtual machine and the Java libraries for its character set support. I don’t know what could be causing the issue you are seeing.