unity-preview icon indicating copy to clipboard operation
unity-preview copied to clipboard

utf-8 and cp1251 issue. Russian language in commit messages

Open dobrMAN opened this issue 9 years ago • 5 comments

Sorry, my english is very bad. There is 2 screen shots with issue.

https://files.gitter.im/ru-sharp/general/B8Wx/thumb/111.png https://files.gitter.im/ru-sharp/general/z6jF/thumb/222.png

In GitHub it look good, but in Unity Editor i see unreadeble text in commits with russian characters in messages (commits names).

Unity 5.6.0 Windows 10 x64

dobrMAN avatar Apr 17 '17 16:04 dobrMAN

Hi @dobrMAN, don't worry I'm happy to help 😃 👍. I will try to test it out and get back to you.

StanleyGoldman avatar Apr 17 '17 17:04 StanleyGoldman

I'm also able to reproduce this on a mac.

Mac OSX Sierra Unity 5.5.2 x64

image

StanleyGoldman avatar Apr 25 '17 14:04 StanleyGoldman

@StanleyGoldman, it some different i think. Becouse you don't have russian fonts installed in your system. In my case i just need converting text from UTF-8 to System locale encoding (cp1251 in my case) before show text in History.

dobrMAN avatar Apr 25 '17 17:04 dobrMAN

I'm able to build an ultra simple reproduction of the problem.

https://github.com/StanleyGoldman/RussianLanguageOutput

Here we have a simple Process calling a batch file which calls echo "Я люблю github" (i love github). I can obtain a similar result.

image

StanleyGoldman avatar Apr 25 '17 17:04 StanleyGoldman

Resolved in v0.10-alpha

StanleyGoldman avatar Apr 27 '17 20:04 StanleyGoldman