Mercurial > hg > mercurial
view teamcity-plugin.xml @ 379:55c2c88a2d82 Eluru-6.5.x
TW-17630, TW-18815 fix encoding for hg log command
Mercurial stores commit messages in UTF-8. During commit it tries to
guess a system encoding and transcode message from system encoding to
UTF-8. When it prints to output it transcodes from UTF-8 to the system
encoding and replace characters which cannot be represented in the
system encoding with the symbol of '?'.
Default console encoding on windows is cp437, and it cannot represent
non-latin symbols, see http://mercurial.selenic.com/wiki/CharacterEncodingOnWindows
for details.
The fix is to not use a console to run hg, and tell mercurial to do
the output in UTF-8.
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Wed, 15 Feb 2012 12:07:12 +0400 |
parents | 63fcc9b14221 |
children | 7a4ecffe34a9 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <teamcity-plugin xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:shemas-jetbrains-com:teamcity-plugin-v1-xml"> <info> <name>mercurial</name> <display-name>VCS Support: Mercurial</display-name> <version>@Plugin_Version@</version> <vendor> <name>JetBrains, s.r.o.</name> <url>http://www.jetbrains.com</url> </vendor> </info> <deployment use-separate-classloader="false"/> </teamcity-plugin>