---
title: "[GIT]jenkins gitlog乱码问题"
author: "MyEyeOfJava"
date: "2014-11-27T15:16:23Z"
tags: []
categories: ["编程语言"]
slug: "git-jenkins-gitlog"
draft: false
lastmod: "2014-11-27T15:16:23Z"
id: 2161295
url: "https://myeyeofjava.iteye.com/blog/2161295"
---

**解决过程：**

查看builds\\2014-11-20\_16-29-37\\change\_log.xml也是乱码，怀疑是git 的原因

参考文章：

[http://blog.csdn.net/kl222/article/details/32903495](http://blog.csdn.net/kl222/article/details/32903495 "http://blog.csdn.net/kl222/article/details/32903495")

**最终解决方案：**

日志输出编码设置为utf-8

git config --global i18n.logoutputencoding utf-8