Re: "X11 Control Characters" encoding
- From: Kevin Kenny <kennykb@xxxxxxx>
- Date: Mon, 21 May 2007 08:48:22 -0400
billposer@xxxxxxxxxxxx wrote:
The list returned by [encoding names] includes a so-called encoding
labelled "X11 Control Characters". However, I've never heard of such
an encoding and there is no enc file for this. Can anyone tell me what
this is supposed to be? Thanks.
It's a fake encoding that we use to process text that's going into a
Tk widget. The font substitution mechanism allows for encoding
conversion, so Unicode CJK text, for instance, can be displayed
in an euc-cn or Big Five font. We abuse this mechanism a little
bit by putting in a dummy fallback font at the end of the search.
A character that has no representation in any font in the system
gets converted to a \xnn or \unnnn string by the X11ControlCharacters
encoding and displayed in an ISO8859-1 font.
Don't you feel better, knowing that? :)
--
73 de ke9tv/2, Kevin
.
- Follow-Ups:
- Re: "X11 Control Characters" encoding
- From: billposer
- Re: "X11 Control Characters" encoding
- References:
- "X11 Control Characters" encoding
- From: billposer
- "X11 Control Characters" encoding
- Prev by Date: Re: How to remove a single line from a flat file (Still very off-topic.)
- Next by Date: Re: How to remove a single line from a flat file
- Previous by thread: "X11 Control Characters" encoding
- Next by thread: Re: "X11 Control Characters" encoding
- Index(es):
Relevant Pages
|
|