修复创建,更新Job中文编码问题 | fix chinese code unintelligible error when create …#73
Open
xueerfei wants to merge 6 commits intojansepar:masterfrom
Open
修复创建,更新Job中文编码问题 | fix chinese code unintelligible error when create …#73xueerfei wants to merge 6 commits intojansepar:masterfrom
xueerfei wants to merge 6 commits intojansepar:masterfrom
Conversation
# Conflicts: # src/main.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
when i use API update_job to update jenkins job, i find if i have chinese in config string ,the jenkins config.xml can't recognize correct chinese,but if i just update job by jenkins web,i will be work
So i guess it must be something wrong in http request, i try to use http request, and add header headers: { 'Content-Type': 'application/xml;charset=UTF-8' }
it works correct .
I look up the source code ,find the source code didn't add the charset type.