How to make konsole/terminal and emacs to recognize UTF-8 encoding?
Hi,
I'm using Kubuntu 7.10.
When I use gcc to compile C programs, neither konsole nor the tty terminals nor emacs recognizes the UTF-8 encoded quotes in the output of gcc. However, if I redirect the output to a file and open with kate, it recognizes them.
Now if I set the environment variable LC_ALL=C, everything is fine in consoles and emacs, but kate loses UTF-8 recognition. So, I want a way to make Konsole, Terminals and emacs recognize and display the UTF-8 quotes properly rather than disabling UTF completely by setting LC_ALL.
Could someone tell me how to do it?
|