Original Usenet thread from alt.ascii-art, started 31 Mar 2002.
Character List
alt.ascii-art
· 15 messages · 31 Mar 2002 - 2 Apr 2002
I'm looking for a complete ASCII character list. I'f anyone can point me in the right direction I'd be very grateful.
Oladahn wrote: > I'm looking for a complete ASCII character list. I'f anyone can point me in the > right direction I'd be very grateful. > Under windows, start->run and type charmap, pick some normal font like courier or arial, everything up to ~ is ascii, or just altavista +ascii+character+set -mooz
"Oladahn" <ola...@aol.com> wrote in message news:200...@mb-fl.aol.com... > I'm looking for a complete ASCII character list. I'f anyone can point me in the > right direction I'd be very grateful. http://home.grics.net/donovan/asciifaq.html#1 FAQ! For -today's- artist! -Phydeaux ObASCII: .. /"7\ (a couple of kids next to a swingset at about 600 yards, give or take)
--(Once apon a time, in alt.ascii-art,)-- --(Phydeaux said it like only they can.)-- > "Oladahn" <ola...@aol.com> wrote in message news:200...@mb-fl.aol.com... >> I'm looking for a complete ASCII character list. I'f anyone can point me in the >> right direction I'd be very grateful. > > http://home.grics.net/donovan/asciifaq.html#1 > > FAQ! For -today's- artist! > > -Phydeaux > > ObASCII: > > .. /"7\ > > (a couple of kids next to a swingset at about 600 yards, give or take) > > _ .. /"o7\ it needed a tire swing |^^^| /7|"\ /7 | \ One of the crows nests that you see on the playgrounds -- +-(faux@fugozi)-(0.27|0.16|0.15)-(01:48|Sun Mar 31)-+ cat ~/.{sig,uin} It's a damn poor mind that can only think of one way to spell a word. - Andrew Jackson UIN=66618055
,---. /(/( 31 Mar 2002 03:14:44 GMT,
'--. \.--' . .\ wewi�rka znana te� jako Oladahn,
`-; < / wprowadza w �ycie plan podbicia �wiata
`v-.J-.J przy pomocy puszki mielonki konserwowej:
>I'm looking for a complete ASCII character list. I'f anyone can point me in the
>right direction I'd be very grateful.
Here you go, just compile it and run. :)
#include <iostream>
int main()
{
for (int i=32; i<128; i++)
std::cout << (char) i;
return 0;
}
Best regards/Pozdrowienia,
Blazej [bug]
--
,- .--. .--. -.
, /\ :( .' .' `. `. ); /\ ,
._.' \ '.".' .( bug ). `.".' / `._.
""""-.\_.-"_.-"-.) (.-"-. "-._/.-""""
On 31 Mar 2002 03:14:44 GMT, ola...@aol.com (Oladahn) wrote: >I'm looking for a complete ASCII character list. I'f anyone can point me in the >right direction I'd be very grateful. $chr(0033) = ! $chr(0034) = " $chr(0035) = # $chr(0036) = $ $chr(0037) = % $chr(0038) = & $chr(0039) = ' $chr(0040) = ( $chr(0041) = ) $chr(0042) = * $chr(0043) = + $chr(0044) = , $chr(0045) = - $chr(0046) = . $chr(0047) = / $chr(0048) = 0 $chr(0049) = 1 $chr(0050) = 2 $chr(0051) = 3 $chr(0052) = 4 $chr(0053) = 5 $chr(0054) = 6 $chr(0055) = 7 $chr(0056) = 8 $chr(0057) = 9 $chr(0058) = : $chr(0059) = ; $chr(0060) = < $chr(0061) = = $chr(0062) = > $chr(0063) = ? $chr(0064) = @ $chr(0065) = A $chr(0066) = B $chr(0067) = C $chr(0068) = D $chr(0069) = E $chr(0070) = F $chr(0071) = G $chr(0072) = H $chr(0073) = I $chr(0074) = J $chr(0075) = K $chr(0076) = L $chr(0077) = M $chr(0078) = N $chr(0079) = O $chr(0080) = P $chr(0081) = Q $chr(0082) = R $chr(0083) = S $chr(0084) = T $chr(0085) = U $chr(0086) = V $chr(0087) = W $chr(0088) = X $chr(0089) = Y $chr(0090) = Z $chr(0091) = [ $chr(0092) = \ $chr(0093) = ] $chr(0094) = ^ $chr(0095) = _ $chr(0096) = ` $chr(0097) = a $chr(0098) = b $chr(0099) = c $chr(0100) = d $chr(0101) = e $chr(0102) = f $chr(0103) = g $chr(0104) = h $chr(0105) = i $chr(0106) = j $chr(0107) = k $chr(0108) = l $chr(0109) = m $chr(0110) = n $chr(0111) = o $chr(0112) = p $chr(0113) = q $chr(0114) = r $chr(0115) = s $chr(0116) = t $chr(0117) = u $chr(0118) = v $chr(0119) = w $chr(0120) = x $chr(0121) = y $chr(0122) = z $chr(0123) = { $chr(0124) = | $chr(0125) = } $chr(0126) = ~ $chr(0127) = $chr(0032) = space
MJP <mik...@bluedwarf.spam.net> wrote in message news:3ca74b86.8528291@205.158.27.245... | On 31 Mar 2002 03:14:44 GMT, ola...@aol.com (Oladahn) wrote: | | >I'm looking for a complete ASCII character list. I'f anyone can point me in the | >right direction I'd be very grateful. <...> | $chr(0126) = ~ $chr(0127) = $chr(0032) = space | Good list, except that the 127 is strictly speaking a delete character and not a printable one.
bug <my....@my.sig> wrote in news:3k5...@4ax.com: >#include <iostream> > int main() > { > for (int i=32; i<128; i++) > std::cout << (char) i; > return 0; > } #include <iostream.h> #include <conio.h> int main() { clrscr(); int x=0; for (int i=32; i<=126; i++) { if (i<100) cout<<'0'; cout<<i<<' '<<(char)i<<" | "; if (x++>6) { cout<<endl; x=0; } } return 0; } 032 | 033 ! | 034 " | 035 # | 036 $ | 037 % | 038 & | 039 ' | 040 ( | 041 ) | 042 * | 043 + | 044 , | 045 - | 046 . | 047 / | 048 0 | 049 1 | 050 2 | 051 3 | 052 4 | 053 5 | 054 6 | 055 7 | 056 8 | 057 9 | 058 : | 059 ; | 060 < | 061 = | 062 > | 063 ? | 064 @ | 065 A | 066 B | 067 C | 068 D | 069 E | 070 F | 071 G | 072 H | 073 I | 074 J | 075 K | 076 L | 077 M | 078 N | 079 O | 080 P | 081 Q | 082 R | 083 S | 084 T | 085 U | 086 V | 087 W | 088 X | 089 Y | 090 Z | 091 [ | 092 \ | 093 ] | 094 ^ | 095 _ | 096 ` | 097 a | 098 b | 099 c | 100 d | 101 e | 102 f | 103 g | 104 h | 105 i | 106 j | 107 k | 108 l | 109 m | 110 n | 111 o | 112 p | 113 q | 114 r | 115 s | 116 t | 117 u | 118 v | 119 w | 120 x | 121 y | 122 z | 123 { | 124 | | 125 } | 126 ~ | -- Raf256 ,--, _ ,- _ _ _ |,-'`_|_|_ `_||_'|_' raf...@wp.pl GG-1175498 ICQ-143712878 | `\|_| | |_,,_||_| C++; (_2b||!_2b)?this->is->a:question; {B.Stroustrup, W.Shakespeare}
--(Once apon a time, in alt.ascii-art,)-- --(Rafal 'Raf256' Maj said it like only they can.)-- > bug <my....@my.sig> wrote in > news:3k5...@4ax.com: > >>#include <iostream> >> int main() >> { >> for (int i=32; i<128; i++) >> std::cout << (char) i; >> return 0; >> } > > > #include <iostream.h> > #include <conio.h> > int main() { > clrscr(); > int x=0; > for (int i=32; i<=126; i++) { > if (i<100) cout<<'0'; > cout<<i<<' '<<(char)i<<" | "; > if (x++>6) { cout<<endl; x=0; } > } > return 0; > } > > I was toying around with a shell script version but found that their was no clean way to do this because of two different reasons. 1. it depends on what ISO character set you are using. 2. to accommodate for the above you need to verify that what comes out is indeed ASCII. There is no POSIX character list for [:ascii:]. The first one is the nature of the beast and a consequence of using a high level interpretor. The second one I find unexcusable and a glaring short coming in POSIX. Can some one tell my why there is no [:ascii:] list? I can only assume this is intentional but can not figure out why. -- +-(faux@fugozi)-(0.09|0.07|0.20)-(00:55|Mon Apr 01)-+ cat ~/.{sig,uin} It's a damn poor mind that can only think of one way to spell a word. - Andrew Jackson UIN=66618055
,---. /(/( 1 Apr 2002 07:24:35 GMT,
'--. \.--' . .\ wewi�rka znana te� jako Rafal 'Raf256' Maj,
`-; < / wprowadza w �ycie plan podbicia �wiata
`v-.J-.J przy pomocy puszki mielonki konserwowej:
>#include <iostream.h>
>#include <conio.h>
>int main() {
> clrscr();
> int x=0;
> for (int i=32; i<=126; i++) {
> if (i<100) cout<<'0';
> cout<<i<<' '<<(char)i<<" | ";
> if (x++>6) { cout<<endl; x=0; }
> }
> return 0;
>}
>
>032 | 033 ! | 034 " | 035 # | 036 $ | 037 % | 038 & | 039 ' |
>040 ( | 041 ) | 042 * | 043 + | 044 , | 045 - | 046 . | 047 / |
>048 0 | 049 1 | 050 2 | 051 3 | 052 4 | 053 5 | 054 6 | 055 7 |
>056 8 | 057 9 | 058 : | 059 ; | 060 < | 061 = | 062 > | 063 ? |
>064 @ | 065 A | 066 B | 067 C | 068 D | 069 E | 070 F | 071 G |
>072 H | 073 I | 074 J | 075 K | 076 L | 077 M | 078 N | 079 O |
>080 P | 081 Q | 082 R | 083 S | 084 T | 085 U | 086 V | 087 W |
>088 X | 089 Y | 090 Z | 091 [ | 092 \ | 093 ] | 094 ^ | 095 _ |
>096 ` | 097 a | 098 b | 099 c | 100 d | 101 e | 102 f | 103 g |
>104 h | 105 i | 106 j | 107 k | 108 l | 109 m | 110 n | 111 o |
>112 p | 113 q | 114 r | 115 s | 116 t | 117 u | 118 v | 119 w |
>120 x | 121 y | 122 z | 123 { | 124 | | 125 } | 126 ~ |
Good one! Gotta remember this one. I'm learning C++
by myself at home (for few days), so can I count on
your help if I need one? :)
Best regards/Pozdrowienia,
Blazej [bug]
--
Blazej - [bug] - Kozlowski
608093718 bla...@konto.pl
ICQ:147041942 - GG:1093730
www.bugi.of.pl .RLU:269321
bug <my....@my.sig> wrote in news:0tb...@4ax.com: > ,---. /(/( 1 Apr 2002 07:24:35 GMT, > '--. \.--' . .\ wewi�rka znana te� jako Rafal 'Raf256' Maj, > `-; < / wprowadza w �ycie plan podbicia �wiata > `v-.J-.J przy pomocy puszki mielonki konserwowej: > >>#include <iostream.h> >>#include <conio.h> >>int main() { >> clrscr(); >> int x=0; >> for (int i=32; i<=126; i++) { >> if (i<100) cout<<'0'; >> cout<<i<<' '<<(char)i<<" | "; >> if (x++>6) { cout<<endl; x=0; } >> } >> return 0; >>} >> >>032 | 033 ! | 034 " | 035 # | 036 $ | 037 % | 038 & | 039 ' | >>040 ( | 041 ) | 042 * | 043 + | 044 , | 045 - | 046 . | 047 / | >>048 0 | 049 1 | 050 2 | 051 3 | 052 4 | 053 5 | 054 6 | 055 7 | >>056 8 | 057 9 | 058 : | 059 ; | 060 < | 061 = | 062 > | 063 ? | >>064 @ | 065 A | 066 B | 067 C | 068 D | 069 E | 070 F | 071 G | >>072 H | 073 I | 074 J | 075 K | 076 L | 077 M | 078 N | 079 O | >>080 P | 081 Q | 082 R | 083 S | 084 T | 085 U | 086 V | 087 W | >>088 X | 089 Y | 090 Z | 091 [ | 092 \ | 093 ] | 094 ^ | 095 _ | >>096 ` | 097 a | 098 b | 099 c | 100 d | 101 e | 102 f | 103 g | >>104 h | 105 i | 106 j | 107 k | 108 l | 109 m | 110 n | 111 o | >>112 p | 113 q | 114 r | 115 s | 116 t | 117 u | 118 v | 119 w | >>120 x | 121 y | 122 z | 123 { | 124 | | 125 } | 126 ~ | > > Good one! Gotta remember this one. I'm learning C++ > by myself at home (for few days), so can I count on > your help if I need one? :) yes, I'm giving some C++ lessons so this wouldn't be any problem :) please check www.raf256.com (in about 1-2 weeks) -- Raf256 ,--, _ ,- _ _ _ |,-'`_|_|_ `_||_'|_' raf...@wp.pl GG-1175498 ICQ-143712878 | `\|_| | |_,,_||_| C++; (_2b||!_2b)?this->is->a:question; {B.Stroustrup, W.Shakespeare}
,---. /(/( 1 Apr 2002 13:21:52 GMT,
'--. \.--' . .\ wewi�rka znana te� jako Rafal 'Raf256' Maj,
`-; < / wprowadza w �ycie plan podbicia �wiata
`v-.J-.J przy pomocy puszki mielonki konserwowej:
>> Good one! Gotta remember this one. I'm learning C++
>> by myself at home (for few days), so can I count on
>> your help if I need one? :)
>
>yes, I'm giving some C++ lessons so this wouldn't be any problem :)
>please check www.raf256.com (in about 1-2 weeks)
Check your mailbox. :)
Best regards/Pozdrowienia,
Blazej [bug]
--
,- .gp. .gp. -.
, db :$ .d$$P' `T$$b. $; db ,
._.d$$b 'Tb.d$$$b bug d$$$b.dP' d$$b._.
""""^Tb_.s$$P^"^Tb dP^"^T$$s._dP^""""
,---. /(/( Mon, 1 Apr 2002 13:23:18 +0000 (UTC),
'--. \.--' . .\ wewi�rka znana te� jako Dr Scab,
`-; < / wprowadza w �ycie plan podbicia �wiata
`v-.J-.J przy pomocy puszki mielonki konserwowej:
>#include <stdio.h>
>int main()
>{
> int i;
> for(i=32;i<128;i++)
> printf("%d : %c\n", i, i);
> return 0;
>}
Maybe... I'm learning for few days... I don't know much.
In fact I don't know almost anything. But my version
also works. :)
Best regards/Pozdrowienia,
Blazej [bug]
--
,- .gp. .gp. -.
, db :$ .d$$P' `T$$b. $; db ,
._.d$$b 'Tb.d$$$b bug d$$$b.dP' d$$b._.
""""^Tb_.s$$P^"^Tb dP^"^T$$s._dP^""""
"Rafal 'Raf256' Maj" <raf...@szybkapoczta.pl> wrote: >bug <my....@my.sig> wrote in >news:3k5...@4ax.com: > >>#include <iostream> >> int main() >> { >> for (int i=32; i<128; i++) >> std::cout << (char) i; >> return 0; >> } #!/usr/bin/perl for(32..126){print chr;} >#include <iostream.h> >#include <conio.h> >int main() { > clrscr(); > int x=0; > for (int i=32; i<=126; i++) { > if (i<100) cout<<'0'; > cout<<i<<' '<<(char)i<<" | "; > if (x++>6) { cout<<endl; x=0; } > } > return 0; >} #!/usr/bin/perl for(32..126){ $^A=""; formline '@##',($_); $^A =~ s/ /0/; print $^A." ".(chr $_)." |"; if ($x++>6) {print "\n";$x=0;} } not very elegant, but this is my first sensible perl script. Perhaps this here is better: #!/usr/bin/perl for(32..126){ print (($_<100?"0":"").$_." ".(chr $_)." |".(++$x%6==0?"\n":"")); } Michael
wow perl IS optimized :) BoD "Michael Schierl" <sch...@gmx.de> wrote in message news:a8d2hg$r5kdi$3...@ID-39741.news.dfncis.de... > "Rafal 'Raf256' Maj" <raf...@szybkapoczta.pl> wrote: > > #!/usr/bin/perl > for(32..126){print chr;} >
About this thread.
These messages were posted publicly to the newsgroup
alt.ascii-art
in 2002 and are 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 one of the authors? 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.