OSDN Git Service

Git: Support encoding convert of commit messages
authorYuchen Deng <loaden@gmail.com>
Fri, 21 Oct 2011 09:30:56 +0000 (09:30 +0000)
committerTobias Hunger <tobias.hunger@nokia.com>
Fri, 21 Oct 2011 09:42:28 +0000 (11:42 +0200)
commit08f97b50d71a2b16b76659b82062a3d438195990
treee53b860e1aeb6d3604bbbf79e60c92f3bb19aa00
parent5801841130cf89917ba05df3d49c9d0eb63fdbd3
Git: Support encoding convert of commit messages

We need read i18n.commitEncoding value, to write correct encoding of the commit file.
In Windows OS, the default encoding is GBK, So we need convert to correct encoding of the commit messages.

Change-Id: Id5f35745dba15da2c9ceb1266e0ea537cba7da73
Merge-request: 382
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
src/plugins/git/commitdata.h
src/plugins/git/gitclient.cpp
src/plugins/git/gitsubmiteditor.cpp
src/plugins/git/gitsubmiteditor.h
src/plugins/perforce/perforcesubmiteditor.cpp
src/plugins/perforce/perforcesubmiteditor.h
src/plugins/vcsbase/vcsbasesubmiteditor.cpp
src/plugins/vcsbase/vcsbasesubmiteditor.h