Help!

How can I switch off unicode in an xterm?

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> X Window System RSS
Next:  login shell not started properly  
Author Message
Boltar
External


Since: Jul 12, 2007
Posts: 4



PostPosted: Thu Jul 12, 2007 3:17 pm    Post subject: How can I switch off unicode in an xterm?
Archived from groups: comp>os>linux>x (more info?)

Hi

I'm running Suse 10.1 and the xterms support unicode. I don't want
unicode since I want to be able to see 8 bit ascii characters and not
have the terminal try and munge it into some unicode character along
with its neighbour. Does anyone know how to switch unicode support off
completely?

Thanks for any help

B2003
Back to top
Thomas Dickey
External


Since: Aug 09, 2006
Posts: 96



PostPosted: Fri Jul 13, 2007 12:14 am    Post subject: Re: How can I switch off unicode in an xterm? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Boltar <boltar2003 DeleteThis @yahoo.co.uk> wrote:
> Hi

> I'm running Suse 10.1 and the xterms support unicode. I don't want

For "xterm", it's documented in the manpage.

You may not be running xterm - most SuSE users are using KDE,
which puts konsole in the menus (and the limited documented
provided there doesn't go that deep Wink.

Either I'd simply start it with a non-UTF-8 locale (from the
command-line of course).

> unicode since I want to be able to see 8 bit ascii characters and not
> have the terminal try and munge it into some unicode character along
> with its neighbour. Does anyone know how to switch unicode support off
> completely?

> Thanks for any help

> B2003


--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Back to top
Boltar
External


Since: Jul 12, 2007
Posts: 4



PostPosted: Fri Jul 13, 2007 1:53 am    Post subject: Re: How can I switch off unicode in an xterm? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 13 Jul, 01:14, Thomas Dickey <dic....DeleteThis@saltmine.radix.net> wrote:
> Either I'd simply start it with a non-UTF-8 locale (from the
> command-line of course).

Such as?

B2003
Back to top
Boltar
External


Since: Jul 12, 2007
Posts: 4



PostPosted: Fri Jul 13, 2007 6:28 am    Post subject: Re: How can I switch off unicode in an xterm? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 13 Jul, 14:14, Thomas Dickey <dic... DeleteThis @saltmine.radix.net> wrote:
> (plus, it's not clear if OP is using xterm or some other program)

Its standard xterm.

B2003
Back to top
Thomas Dickey
External


Since: Aug 09, 2006
Posts: 96



PostPosted: Fri Jul 13, 2007 1:15 pm    Post subject: Re: How can I switch off unicode in an xterm? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Boltar <boltar2003 DeleteThis @yahoo.co.uk> wrote:
> On 13 Jul, 01:14, Thomas Dickey <dic... DeleteThis @saltmine.radix.net> wrote:
>> Either I'd simply start it with a non-UTF-8 locale (from the
>> command-line of course).

> Such as?

I can only guess what your proper locale is.

"locale -a" lists some possibilities.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Back to top
Cedric Roux
External


Since: Jul 13, 2007
Posts: 1



PostPosted: Fri Jul 13, 2007 1:36 pm    Post subject: Re: How can I switch off unicode in an xterm? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Boltar wrote:
> Hi
>
> I'm running Suse 10.1 and the xterms support unicode. I don't want
> unicode since I want to be able to see 8 bit ascii characters and not
> have the terminal try and munge it into some unicode character along
> with its neighbour. Does anyone know how to switch unicode support off
> completely?
>
> Thanks for any help
>
> B2003
>

What about launching xterm with the following?:
xterm +u8

Cedric.
Back to top
Thomas Dickey
External


Since: Aug 09, 2006
Posts: 96



PostPosted: Fri Jul 13, 2007 1:36 pm    Post subject: Re: How can I switch off unicode in an xterm? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Cedric Roux <croux RemoveThis @cadence.com> wrote:
> Boltar wrote:
>> Hi
>>
>> I'm running Suse 10.1 and the xterms support unicode. I don't want
>> unicode since I want to be able to see 8 bit ascii characters and not
>> have the terminal try and munge it into some unicode character along
>> with its neighbour. Does anyone know how to switch unicode support off
>> completely?
>>
>> Thanks for any help
>>
>> B2003
>>

> What about launching xterm with the following?:
> xterm +u8

That would stop xterm from doing the translation, but applications within
the dependent shell would still see locale information - and do interesting
things.

(plus, it's not clear if OP is using xterm or some other program)

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Back to top
Thomas Dickey
External


Since: Aug 09, 2006
Posts: 96



PostPosted: Fri Jul 13, 2007 6:46 pm    Post subject: Re: How can I switch off unicode in an xterm? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Boltar <boltar2003.DeleteThis@yahoo.co.uk> wrote:
> On 13 Jul, 14:14, Thomas Dickey <dic....DeleteThis@saltmine.radix.net> wrote:
>> (plus, it's not clear if OP is using xterm or some other program)

> Its standard xterm.

In that case - as noted, "+u8" turns the UTF-8 mode off.

But if the system's locale is an UTF-8 one, e.g., en_GB.UTF-8,
then you would still have to override that to avoid confusing your
shell and other applications.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> X Window System All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum