Re: "X11 Control Characters" encoding



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
.



Relevant Pages

  • Re: "X11 Control Characters" encoding
    ... labelled "X11 Control Characters". ... an encoding and there is no enc file for this. ... The font substitution mechanism allows for encoding ... conversion, so Unicode CJK text, for instance, can be displayed ...
    (comp.lang.tcl)
  • Re: Latin 2 Fonts for Czech Document
    ... Also, if I get a font, what is the syntax needed for *Alphabet? ... The point is that when you buy a Latin2 encoded font, ... encoding mode and allows you to change the encoding. ...
    (comp.sys.acorn.apps)
  • Re: kdialog and unicode
    ... >John Machin wrote: ... >> you didn't know what encoding to use. ... It wasn't being passed to kdialog; there was an attempt which failed. ... And the font you *were* using is what? ...
    (comp.lang.python)
  • Re: kdialog and unicode
    ... >>John Machin wrote: ... >>> you didn't know what encoding to use. ... parts of the script when not using kdialog. ... >>font I was using didn't have the correct characters (they came up as ...
    (comp.lang.python)
  • Re: Reg multilanguage support by gnuplot
    ... It is not supporting UTF-8 encoding. ... In gnuplot ver 4.2 documentation and code, ... all I have to do is select a multibyte font: ...
    (comp.graphics.apps.gnuplot)