alternative encodings in Konsole

From: Mike Maxwell (maxwell_at_ldc.upenn.edu)
Date: 10/27/03


Date: Mon, 27 Oct 2003 12:17:28 -0500

I need to display some text with "upper ASCII" code points using simple
shell tools like 'head' and 'cat'. The code points are not in a standard
encoding, but rather in a home-brew 8-bit encoding for a minority language.
The texts were created on an MsWindows machine, and must remain in the same
encoding.

Unfortunately, most of the upper ASCII characters do not display at all
under konsole--there's not even a question mark to indicate their presence.
Given that the encoding was user-defined, I of course cannot hope to display
them using the correct alphabetic glyphs. But for my purposes, that's OK.
I don't speak the language anyway, so it's sufficient for me to know that
there is _some_ character there.

I can make the chars display under a generic xterm by giving it a command
line parameter:
    xterm -e "ISO 8859-1" ...
Unfortunately,

(1) konsole doesn't have a parameter for changing encoding, or any other way
to change encoding, so far as I can tell; and

(2) xterm doesn't have some of the capabilities that I would like to use,
and 'konsole' does. For example, 'konsole' interprets ^<LEFT> as "move left
one word".

So I seem to be stuck. Is there some way to set the encoding which
'konsole' displays (maybe in a newer version of konsole)? Alternatively, is
there another xterm-like app which allows me to set the encoding, and also
interprets a wider range of cursor movements from the keyboard?
(move-left-word, move-right-word, delete-word-to-left, maybe select from the
keyboard...)

I should add that keying in these special characters is not really of
interest to me (although I'm sure it is to others). All the special chars I
need are already in the files.

A possibly related issue is the fact that the Language Setting dlg box for
the desktop (redhat-config-language) does not allow me to choose anything
but English. I'm not sure how to install the other language choices.
Having said that, I don't think it would solve the problem, because as I
say, the encoding I want is not going to be on anyone's list.

Version 1.2 of Konsole, KDE3.1-12 Red Hat.

Oh, and I'd be happy to post this to a different news group, if someone
could point me to a better place...

    Mike Maxwell
    DONTmaxwellSPAM atsign ldc dot upenn dot edu



Relevant Pages

  • Re: Internet Explorer - Firefox
    ... David i have try to change the encoding with all the possible options i have ... If you can do it, create a test folder on your host, and upload the page to ... I imagine it is a problem with how the script is ... suppose to display a search box for flights..i am pretty sure that the ...
    (microsoft.public.publisher.webdesign)
  • Re: [kde-linux] Encoding questions (Chusslove Illich)
    ... part of it might be encoded in utf-8: ... select output encoding scheme ... to kate, with kate changed to a font that can ... display the correct glyphs (the ...
    (KDE)
  • Re: Problem: code, algorithm, or both?
    ... Jan -- do you realise that browser and email software will use fonts stored on the _reader's_ machine? ... so, if you don't have the necessary fonts installed, it doesn't matter what software you use, because there is nothing it can do to improve the display ... the only real problem is that the encoding in the font on your machine, and the encoding specifiedin the incoming msg, must match ... I've set the fonts to Unicode everywhere I could but I'm not complaining not having a proper display of APL-characters in my mail/news reader. ...
    (comp.lang.apl)
  • Re: Can one "overclock" a CRT monitors video input bandwidth? Need slightly higher refresh rate tha
    ... Crowley, you can't display the picture all that well. ... radar doesn't have any coding, SSR does, and Mode-S even more encoding. ... I disagree with you about some of this, but what the hell, I won't plonk you. ...
    (rec.video.desktop)
  • Re: Is it possible to print enums text?
    ... One advantage of XML is that the existing tools permit not only ... documentation and code from a single source. ... suitable markup language isn't exactly a new and original ... encoding of letters of the typewriter alphabet common in the ...
    (comp.unix.programmer)