title: BASH: echo -e does not work with Unicode Cyrillic
body: <p>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.</p>
  
  <p>However the messages are mostly written in Cyrillic and I get results like "\u043f\u0440\u0438\u0432\u0456\u0442"</p>
  
  <p>On my old system that run Ubuntu I could easily convert it to normal letters with <code>echo -e</code></p>
  
  <pre><code>[18:18 deimos@nc ~] echo -e "\u043f\u0440\u0438\u0432\u0456\u0442"
  привіт
  </code></pre>
  
  <p>Unfortunatelly that does not work with the new system on CentOS 6.</p>
  
  <pre><code>[15:21] [server1.nichan.net ~] # echo -e "\u043f\u0440\u0438\u0432\u0456\u0442"
  \u043f\u0440\u0438\u0432\u0456\u0442
  </code></pre>
  
  <p>Both systems are on English. The CentOS one was installed just today so there is not much on it. The only thing I installed on it so far is pip and some Python modules my scripts require, so it's safe to say the system is fresh.</p>
  
  <p>Also, other Unicode symbols seem to work just fine. The only issue is Cyrillic:</p>
  
  <pre><code>[15:21] [server1.nichan.net ~] # echo -e "\xE2\x98\xA0"
  ☠
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>UPD: It appears my Bash was outdated. I had 4.1 and this function requires at least 4.3. I updated Bash using this guide:</p>
  
  <pre><code>wget https://ftp.gnu.org/pub/gnu/bash/bash-4.3.tar.gz
  tar xvfz bash-4.3.tar.gz
  cd bash-4.3/
  ./configure
  make
  ls -la bash
  cp -f bash /bin/bash
  /bin/bash
  </code></pre>
  
  <p>Tributes to <a href="https://www.stevejenkins.com/blog/2014/09/how-to-manually-update-bash-to-patch-shellshock-bug-on-older-fedora-based-systems/" rel="nofollow noreferrer">https://www.stevejenkins.com/blog/2014/09/how-to-manually-update-bash-to-patch-shellshock-bug-on-older-fedora-based-systems/</a></p>