LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-15-2004, 10:59 AM   #1
MatSzor
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
Extended ASCII characters in UNIX


Hello,

I am trying to get the IBM Extended Character set to work in C. I've tried all manner of hex codes but to no avail. I saw a chart showing the differences in UNIX and IBM Extended Character sets.. and it looks as if there is no support.

Is there any way to get these characters under UNIX? I'm running Slackware 9.1 if that helps.

Thankyou for your time.
 
Old 05-15-2004, 11:47 AM   #2
The_Nerd
Member
 
Registered: Aug 2002
Distribution: Debian
Posts: 540

Rep: Reputation: 32
Can you possibly make your application graphical and just use graphics instead???
 
Old 05-15-2004, 12:00 PM   #3
MatSzor
LQ Newbie
 
Registered: May 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Hrm. I was keeping it text for simplicity. I am just looking for the line drawing characters for borders etc. I thought this way would be easier than converting all I've done to proper graphics.

Although this doesn't seem so simple after all. Correct me if I'm wrong by all means.
 
Old 05-15-2004, 05:58 PM   #4
itsme86
Senior Member
 
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 58
It's all about the font you use. There's probably a different font out there somewhere that has the symbols you're looking for.
 
Old 05-15-2004, 09:15 PM   #5
Mohsen
Member
 
Registered: Feb 2003
Location: Iran
Distribution: Solaris 10
Posts: 201

Rep: Reputation: 30
You may have a nice experiment using setfont command in a shell!
Try to get the source code and read the man page.
 
Old 05-15-2004, 09:57 PM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,481

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
The font used is more a terminal feature than a program one.

Use xfontsel to find a font containing the special characters you need, and launch a terminal emulator using it (usually -fn <font-name>)
 
  


Reply


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 04:04 PM
bash printing extended ASCII characters nutthick Programming 6 02-04-2005 02:15 PM
Extended ASCII set. exvor Programming 1 12-19-2004 02:44 PM
extended ascii in RH9 deleeuw Linux - Hardware 2 07-28-2003 10:08 AM
extended ascii in RH9 deleeuw Linux - General 0 07-18-2003 11:33 AM


All times are GMT -5. The time now is 12:28 PM.

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