Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-06-2010, 07:28 AM   #1
Registered: Apr 2010
Location: Bucharest
Distribution: Slackware13.37, OpenBSD5.1, FreeBSD9.0
Posts: 40

Rep: Reputation: 0
using extended ascii characters

Hello all,

How can I use extended ascii characters, like ALT + 2 + 0 + 0 for instance?
I'm using some of those characters for my passwords for online accounts made under MS Windows and it seams I'm unable to use them in Slackware 13.

For instance: if I type ALT+2+0+0 in Pidgin there is no character displayed and if I type in the Terminal the same thing, it will replace my shell prompter (sasser@HOSTA:~$) with (arg: 200):

(arg: 200)
Old 04-06-2010, 09:06 AM   #2
Senior Member
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Buster (Fluxbox WM)
Posts: 1,390
Blog Entries: 52

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359
You can enter arbitrary Unicode characters into GTK applications by holding down 'ctrl-shift' throughout and pressing 'u' followed by the hex code. For example, you can put in the ASCII character 200 into Pidgin by pressing:
ctrl-shift-u ctrl-shift-c ctrl-shift-8
For non-GTK applications the method varies. For example, in VIM you can use 'ctrl-V' 'u' {hexcode} while in insert mode.

In KDE you can use the control app KCharSelect to place characters, but I don't know of a way to do it more directly (ie keyboard only into a Qt application).

Likewise, I'm not sure of how to do it in xterm (apart from cut-and-paste or changing the keyboard map), though the GTK method would likely work in gnome-terminal.

Last edited by neonsignal; 04-06-2010 at 09:14 AM.
1 members found this post helpful.
Old 04-06-2010, 09:50 AM   #3
Registered: Jul 2005
Location: France
Distribution: Arch Linux
Posts: 540

Rep: Reputation: Disabled
From a Google search :
You find explanations on how to declare a Compose key.

I tested the command :

setxkbmap -model pc105 -layout fr -option compose:rwin

to use the <rightwindows> key as the compose key.

You can get your ascii 200 character which is (Egrave) character with :
<rightwindows> then ` then E

See for example ComposeKeys
for possible Linux Compose Key Sequences.

Or in a Compose file on your installation, for example :

Adapt to your case of course.

Last edited by berbae; 04-06-2010 at 10:12 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
extended ascii codes in c++ crAckZ Programming 1 09-12-2005 05:04 PM
bash printing extended ASCII characters nutthick Programming 6 02-04-2005 03:15 PM
Extended ASCII characters in UNIX MatSzor Programming 5 05-15-2004 10:57 PM
extended ascii in RH9 deleeuw Linux - Hardware 2 07-28-2003 11:08 AM
extended ascii in RH9 deleeuw Linux - General 0 07-18-2003 12:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration