help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Font Interaction


From: Eli Zaretskii
Subject: Re: Font Interaction
Date: Fri, 23 Apr 2010 11:59:58 +0300

> Cc: Eli Zaretskii <eliz@gnu.org>,
>  help-gnu-emacs@gnu.org
> From: Peter Dyballa <Peter_Dyballa@Web.DE>
> Date: Fri, 23 Apr 2010 10:27:06 +0200
> 
> So it might be worth to set an UTF-8 encoding only for some buffers or  
> processes, or, when the terminal is definitely set up for UTF-8 and  
> GNU Emacs is by default in UTF-8 mood (via environment variable  
> LC_CTYPE, LC_LANG, LC_ALL, or other means), then set these "screwed  
> up" processes/buffers into some 8- or 7-bit encoding.

What? why?

The way Emacs encodes terminal output on text terminals is entirely
independent of the buffer contents.  Characters in the buffer are held
in the internal Emacs representation, and Emacs explicitly encodes
them when it sends them to the screen.  So there's no dependency
whatsoever between the buffer contents and the terminal encodings that
could be used with it.  (Of course, some characters will be sent as
`?' if the terminal encoding cannot represent them, but UTF-8 can
represent all characters, and `?' on display is not the OP's problem
anyway.)

Also, "C-x RET t" overrides any settings determined by LC_* variables,
so that also should be irrelevant.

Am I missing something?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]