Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.

Re^2: Re: Apocalypse 12

by adrianh (Chancellor)
on Apr 22, 2004 at 13:30 UTC ( [id://347346]=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Apocalypse 12
in thread Apocalypse 12

It is an ASCII character


It definitely isn't an ASCII character. ASCII is only seven bits wide, and never included none o'them wierd "foreign" characters :-).

You will however find it in ISO 8859 (aka ISO Latin 1).


Replies are listed 'Best First'.
Re: Apocalypse 12
by Abigail-II (Bishop) on Apr 22, 2004 at 14:06 UTC
    ASCII isn't necessarely 7 bits wide. There are 128 different characters, so you could encode them using just 7 bits. But that's pretty unusual, especially nowadays, given that bytes are typically 8 bits wide. Common ways of encoding ASCII characters use bytes, with either the high bit being 0, or by using one of the bits as a parity bit - to be able to do some error detection.

    Also, ISO 8859 is a class of character sets, all supersets of ASCII, having the code points 0x80 - 0x9F undefined and the highest code point being 0xFF. But there are various mappings of the code points 0xA0 - 0XFF to characters; one of those mappings (for Western European languages) being ISO 8859-1, and only that one is known as ISO Latin-1. It's in many countries that used ISO 8859-1 superceeded by ISO 8859-15, which includes a € sign. But there are other mappings part of ISO 8859 as well.


      Fair points ;-)

Re: Re^2: Re: Apocalypse 12
by TwistedGreen (Sexton) on Apr 22, 2004 at 13:55 UTC
    Well, it is included in the extended ASCII table, though I don't know what that means internationally. The 'A' in ASCII does mean American, after all.

    640k is enough for anybody.
      Well, it is included in the extended ASCII table

      I looked through my table of IBM Extended ASCII, and didn't find it. Decimal 187 is one of the framing characters (for drawing character-based screen windows and stuff), specifically the double-line upper-right-corner. (I used to use the framing characters all the time, mostly in comments and documentation, but also for character-based window borders and things, back in the DOS days.) I've never seen this double-greater-than-sign character before in my life, as far as I know. Hopefully I won't need parallel dispatch for very much, because I really like my Avant Stellar keyboard and have no intentions of switching to a European keyboard or whatever is needed to type unicode characters.

      I don't mind if the language _supports_ unicode; I think it's wrong to *require* it though.

      ;$;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$;[-1]->();print
        Take a look at characters 174 () and 175 () in the (an?) extended ASCII table and they should be there.
      Well, it is included in the extended ASCII table

      The problem is that it's "an" extended ASCII table - not "the" extended ASCII table :-) There are many extensions of ASCII, many of which do not have "" and "".

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://347346]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-05-29 19:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found