2

I have to view a log file on Debian server which is written in Persian by a third party software. Is this possible to have UTF-8 + Unicode support in tty? I'm looking for solutions based on emacs or entire tty.

4
  • 1
    Which "tty" are you using? The regular Linux console? Xterm? Are you using it locally or ssh'ing from another computer? – user1686 Feb 27 '15 at 18:37
  • Emacs out of the box is fully equipped to deal with UTF-8 since several versions back, if your environment has the fonts etc. to support it. – tripleee Mar 5 '15 at 10:41
  • @grawity The regular Linux console, no XTerm, not even any X is installed in target machine, and yes/no I'm both ssh'ing to remote and using a keyboard and monitor attached to target machine. – sorush-r Mar 6 '15 at 8:39
  • @sorush-r: So that's two completely different things. dtbnguyen already gave you an answer regarding local console access. But when you use ssh, I'm sure you usually do have a terminal like XTerm or PuTTY running on the local machine, don't you? – user1686 Mar 6 '15 at 11:58
1

There are hacks for unicode terminal support such as unicode_start but they aren't perfect as indicated in the documentation.

https://askubuntu.com/questions/23610/how-to-enable-unicode-support-in-a-tty

Alternatively, apparently 'fbterm' supports Unicode and there are already packages for Debian. You could try that?

https://code.google.com/p/fbterm/

https://packages.debian.org/search?keywords=fbterm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.