View Single Post
  #9  
Old April 30th, 2003, 07:39 AM
Jack Simth's Avatar

Jack Simth Jack Simth is offline
Major General
 
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
Jack Simth is on a distinguished road
Default Re: [OT] pythageoron and 3d

Quote:
Originally posted by Gwaihir:
So only some subset of HTML is actually allowed i guess.

I wrote a little javascript table maker to test ranges of #s for the $# method a while back, and I seem to recall that it goes up al least to the low 5-digits (there may be wrapping going on tho). Given the stuff i got in chunks at higher indices, i think that it may be different language add-ons or some such. Does anyone know if this is in fact the case?
I'm reasonably sure that is what is going on.
Quote:
Originally posted by Gwaihir:

Here's a pretty good listing, includes some chars up to 9830 (the diamond suit):
http://www.home.zonnet.nl/robschluter/htmltaglist/
(go to character set, near the bottom of the title bar's "page" list)

the alt-method actually inserts the character, so it won't work for space-making. It seems that only the Last 7 digits are used:
alt-789456123=√
alt-549456123=√
alt-9456123=√

AHA, it wraps at 65536:
alt-6 = ♠
alt-65542 = ♠
alt-500 = ⌠
alt-66036 = ⌠
This one is done at a very basic level on your local computer; it wraps at 16 (65536) bits for you. On many computers, it wraps at 8 (256) bits.
Quote:
Originally posted by Gwaihir:

Sadly, no really special characters like backspace and carriage return (the kind without the attached newline . . . *evil ☺*

interesting, i get a more complete set:
alt+
1:☺
2:☻
3:♥
4:♦
5:♣
6:♠
question, did smile, negative of smilie, heart, diamond, club, spade show on everyone else's system? I know the high chars are system-dependent, but i think the low chars may be as well.
edit: AHA! after posting, it went to the same as your list . . . and upon viewing the source, it appears that the special characters are not included in the HTML (of course this makes sense, it's stored in 1-byte plaintext) and therefore are converted to the appropriate ASCII &# code. However, the browser (i guess its the browser, although i thought that it handled those chars just fine before . . . guess i recall incorrectly) doensn't recognize some of them, so poof we get boxes.
The text box you enter stuff in and the way it is viewed are two different implementations, and have different abilities. This is why the difference. However, for amusement, I would suggest looking at it in different browsers, and from different computers, and in different OS's, so that you can see the varying differences.
Quote:
Originally posted by Gwaihir:

Does anyone know what alt is calling on? is it a non-ASCII standard?
The Alt method runs at your machine before the data is sent to the forum; the &#num; method runs on the browser, after the data has come back. ASCII standard really only applies for 0-127; however, there isn't anything that requires a program use ASCII. It is just strongly advised for the majority of the set.
__________________
Of course, by the time I finish this post, it will already be obsolete. C'est la vie.
Reply With Quote