[Konsole-devel] change encoding

Waldo Bastian bastian at kde.org
Tue Oct 28 16:59:41 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue October 28 2003 17:11, Mike Maxwell wrote:
> 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

The following should do the trick:
	LANG=en_US.ISO8859-1 konsole

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/nqB9N4pvrENfboIRAoa8AJ4gtOvJl1AZqqNea5soipmPJ1C+WQCdHx9+
gMCIOu2+vCOpfA8Lq5rSzVo=
=ztLN
-----END PGP SIGNATURE-----


More information about the konsole-devel mailing list