rebase corrupt commit message
By Borisov.Ger... on March 15, 2012 06:52 (imported from Google Code)
What steps will reproduce the problem?
- Make commit with message, included some non-ascii chars.
for example: "Какой-то текст" (en: "Some text")
- Rebase it commit to other branch
- Look to log. Message was changed to "РљР°РєРѕР№-С‚Рѕ С‚РµРєСЃС"
What version of the product are you using? On what operating system?
TortoiseGit 22.214.171.124, git version 1.7.4, Windows 2003 Russin localization with win 1251 codepage.
Please provide any additional information below.
I have extract git objects before and after rebase.
Before rebase commit contained this bytes: CA E0 EA EE E9 2D F2 EE 20 F2 E5 EA F1 F2 (hex). It is my message in WIN-1251 singlebyte codepage.
After it transformed to: D0 9A D0 B0 D0 BA D0 BE D0 B9 2D D1 82 D0 BE 20 D1 82 D0 B5 D0 BA D1 81 D1. It is look like my message, transformed to UTF-8 mulitbyte codepage.
But log still show it as WIN-1251.
I think, rebase window improperly work with text as UTF-8, but other part of Tortoise work with it as befault Windows codepage
For all ASCII characters all windows singlebyte codepages and UTF-8 have identical binary codes, and this problem not reproduce with English text.
PS sorry for my English.