Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


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

Rep: Reputation: 0
Extended ASCII characters in UNIX


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
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
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
Senior Member
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
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
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
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,763

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
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>)


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 > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:21 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration