Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

TCL(Tool Command Language) Scripting

"X11 Control Characters" encoding


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.

billpo@alum.mit.edu 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

On May 21, 5:48 am, Kevin Kenny <kenn@acm.org> wrote:

Ah, thanks. Among other things, it is useful to know because there is
no point in presenting users with this choice of encoding. And I like
to think that I know every encoding, though that is no doubt a futile
task.
Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc