LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Extended ASCII characters in UNIX (https://www.linuxquestions.org/questions/programming-9/extended-ascii-characters-in-unix-181764/)

MatSzor 05-15-2004 10:59 AM

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.

The_Nerd 05-15-2004 11:47 AM

Can you possibly make your application graphical and just use graphics instead???

MatSzor 05-15-2004 12:00 PM

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.

itsme86 05-15-2004 05:58 PM

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.

Mohsen 05-15-2004 09:15 PM

You may have a nice experiment using setfont command in a shell!
Try to get the source code and read the man page.

jlliagre 05-15-2004 09:57 PM

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>)


All times are GMT -5. The time now is 07:34 PM.