Skip to content
Advertisement

Tag: cyrillic

BASH: echo -e does not work with Unicode Cyrillic

I recently switched to another working machive and faced a problem when I work with Cyrillic. My Bash script gets new messages from an application and works with them. However the messages are mostly written in Cyrillic and I get results like “u043fu0440u0438u0432u0456u0442” On my old system that run Ubuntu I could easily convert it to normal letters with echo

Mercurial clone russian symbols like ‘?’

I work in Linux Red Hat 4.1.2-48 from PuTTy where set encoding UTF-8(PuTTy).I installed mercurial 2.2.1 and his repository. In ‘hgrc’ file of repository encoding set UTF-8 like : In repository i have files, which names are in utf-8 encoding, and have russian symbols. When i go to repositories directory i see right russian symbols. In Linux enviroment variable LANG=en_US.UTF-8..

Advertisement