Re: Looking for Chart of Ascii Characters
From Veronica Karlsson <e93...@sm.luth.se.nospam>
· alt.ascii-art
· 4 May 1997 00:00 · View full thread
· report
> > JeePster (sba...@erols.com) wrote -- > > > I am in search of a chart that gives a list of all possible characters > > within the text realm as well as the Exact keyboard input required to > > achieve this. An example of this would be a square � . I stumbled on > > this by chance. The keyboard input to achieve the � is 0911 with the ALT > > key held down. I have seen quite a few others such as a tre' kewl smiley > > face and a heart but I have yet to discover the required typing need to > > produce them. > Why not try the simple approach and write a small program that will go through the numbers 0 to 255 (or 127) and try to write them both as numbers and as characters and see what happens... I have written a small C program that does that (how you compile it is different on different computers. On the unix system here at my school I write gcc program_name.c -o program_name ) [begin C program code example 1] #include <stdlib.h> #include <stdio.h> main() { int i; for (i = 0; i <= 255; i++) { printf("%d %c\n", i, i); } } [end C program code example 1] If you prefer to have the numbers as hexadecimal instead of decimal you can use this code: [begin C program code example 2] #include <stdlib.h> #include <stdio.h> main() { int i; for (i = 0; i <= 255; i++) { printf("%0x %c\n", i, i); } } [end C program code example 2] (after a couple of tries you may find it necessary to "screen out" some numbers by "counting past" them. In the example below I have screened out number 15: [begin C program code example 3] #include <stdlib.h> #include <stdio.h> main() { int i; for (i = 0; i <= 255; i++) { if (i == 15) i++; /* don't show number 15 */ printf("%d %c\n", i, i); } } [end C program code example 3] when I run this the program will show the numbers ...13, 14, 16, 17...) I hope this helps. -- :) Veronica Karlsson ( e93...@sm.luth.se http://www.ludd.luth.se/~vk/ ) ( llizard's animation site: http://jota.sm.luth.se:80/~e93-vkn/docs/ )
Original message headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f996b,8d14db4b24713566 X-Google-Attributes: gidf996b,public From: Veronica Karlsson <e93...@sm.luth.se.nospam> Subject: Re: Looking for Chart of Ascii Characters Date: 1997/05/04 Message-ID: <336...@sm.luth.se.nospam>#1/1 X-Deja-AN: 239330890 References: <5khf5c$h3...@reader.seed.net.tw> Organization: University of Lulea, Sweden Newsgroups: alt.ascii-art
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art
in 1997 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.
Report this message
Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.