Re: font or face problem in emacs



H.S. wrote:

I get the following in my emacs compiler message window (notice the strange characters around the variables and function names):
----------------------------------------------------------------
g++ -Wall -ansi -o testprog testprog.cc
testprog.cc: In function ‘int main()’:
testprog.cc:6: warning: unused variable ‘i’
testprog.cc:6: warning: unused variable ‘j’

Compilation finished at Thu Jun 29 15:01:30
----------------------------------------------------------------

The strange characters around a variable are(I have typed the backslashes and numbers so that they are displayed properly here):
on left hand side: â\200\230
on right hand side: â\200\231



This seems to have worked:
M-x prefer-coding-system RET utf-8 RET
which is from:
http://groups.google.ca/group/gnu.emacs.help/browse_thread/thread/49787de21a638740/d3fdc305681db276?lnk=st&q=%22%5C200%5C230%22+emacs&rnum=2&hl=en#d3fdc305681db276


So, do I need to use the above command everything or is there a problem with the way emacs treats various locales? I have:
$> set | grep -i lang
LANG=en_CA.UTF-8
LANGUAGE=en_CA:en_US:en_GB:en

->HS


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: my ip was previously banned at http://forums.debian.net/
    ... With no charset value, maybe the strange characters are because of some ... Registered Linux user # 367800 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: backup to dvd of apple files
    ... I also tried to do a tar of it but it gave errors about long names (or ... about strange characters) ... all the money in the world ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
    (Debian-User)
  • Re: cant type high-bit characters in xterm
    ... On Wed, 23 Jun 2004 20:27:48 GMT, Hactar staggered into the Black Sun ... If LANG eq "C", ... > strange characters, as if I'm getting shift-numbers from some other ... If I use left-Alt and the numeric keypad, ...
    (comp.os.linux.x)