2

Using Linux Slackware 14.2, KDE. I created a script in Linux with Russian text that I want to output through wall:

#!/bin/bash
wall <<< 'Сообщение'

Instead of text I see the characters codes:

\320\241\320\276\320\276\320\261\321\211\320\265\320\275\320\270\320\265

I added to ~/.bashrc:

locale=C_UTF8

Then did:

$ source ~/.bashrc

But it didn't work. How to fix this?

Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227
user4035
  • 1,065
  • 2
  • 14
  • 35

0 Answers0