A
A
artem782014-05-03 18:26:48
git
artem78, 2014-05-03 18:26:48

Problems with encoding when connecting via SSH

There is git on the remote server, I connect to it via SSH and look at the commit logs:

$ git log
commit e6c63986fdba027c6fc9e44625240ac5a3fbf1b8
Author: Artem <[email protected]>
Date:   Sat May 3 03:28:16 2014 +0400

    <D0><92> <D0><B8><D0><BD><D0><B4><D0><B5><D0><BA><D1><81> <D0><B4><D0><BE><D0><B1><D0><B0><D0><B2><D0><BB><D0><B5><D0><BD> .htaccess

commit 63a1bb106c6b954ee2fe1895d866d570579ddc54
Author: Artem <[email protected]>
Date:   Sat May 3 01:32:23 2014 +0400

    <D0><A3><D0><B1><D1><80><D0><B0><D0><BD> <D0><B8><D0><B7> <D0><B8><D0><BD><D0><B4><D0><B5><D0><BA><D1><81><D0><B0> db.php

commit 46c11f01a6554ac5a86c2fdf36ea130bb2af1b02
Author: Artem <[email protected]>
Date:   Sat May 3 00:54:44 2014 +0400

    <D0><9A><D0><BE><D0><BF><D0><B8><D1><80><D0><BE><D0><B2><D0><B0><D0><BD><D0><B8><D0><B5> <D1><81><D1><81><D1><8B><D0><BB><D0><BE><D0><BA>

commit 18533d52846c8e63feb1e51a0f915f06ff6752b6
Author: Artem <[email protected]>
Date:   Fri May 2 22:24:06 2014 +0400

    <D0><98><D1><81><D0><BF><D1><80><D0><B0><D0><B2><D0><BB><D0><B5><D0><BD><D0><B8><D1><8F> <D0><B2> <D0><B2><D1><91><D1><80><D1><81><D1><82><D0>

commit db1831941d7e56e8298807e0e36f29e4d375de59
Author: Artem <[email protected]>
Date:   Fri May 2 18:51:17 2014 +0400

    first commit
(END)

Character codes are displayed instead of Cyrillic. Local and server encoding UTF-8. I have Linux Mint, on the server - Ubuntu. How to fix it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
elexterem, 2014-05-03
@elexterem

Change encoding on ssh client like i1-win.softpedia-static.com/screenshots/PuTTYtel_1...

S
SerCe, 2014-05-03
@SerCe

This is a problem with locale pushing through SSH. The easiest way is to install a Russian locale on the Ubuntu server:
There is another way, but, unfortunately, I don't remember it and I can only say on Monday.

A
artem78, 2014-05-03
@artem78

I'm using the standard Linux ssh client.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question