LinuxQuestions.org
Visit Jeremy's Blog.
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 12-19-2004, 11:24 AM   #1
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Extended ASCII set.


Anyone know a place where I can get the linux ASCII set list?

Reason I need it is I would like to use the drawing characters but i seam to be unable to locate them with the simple program that i wrote for the task ??

Code:
#include <stdio.h> 

unsigned char x; 

main()
{  
     puts ("The Extended ASCII set");
     for (x = 128 ; x != 255 ; x++)
             printf("%d is %c. ",x,x); 

   

   puts (""); 
}

Last edited by exvor; 12-19-2004 at 11:26 AM.
 
Old 12-19-2004, 03:44 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The are from 179 (0xb3) to 218 (0xda). But...the characters can be used for local characters in different systems. Your system may also use Unicode. Then the character table looks completely different.

If you want to draw lines etc and make it portable check ncurses library.
 
  


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 set not there or working?? exvor Linux - Software 3 09-05-2006 01:39 PM
extended ascii codes in c++ crAckZ Programming 1 09-12-2005 05:04 PM
extended ascii in kde bwysocki Programming 3 05-18-2005 01:19 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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:44 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration