site version 7.2
PHP –– Numerical Notation
written by: admin

Date Written: 9/4/08 Last Updated: 7/27/12

Numerical notation.

There are many characters that your browser will recognize besides the ones listed on your keyboard.  Hit the shift button and another set will become evident.  Instead of "8" a "*" will appear and there are tens of thousands of other characters, letters and symbols that can be generated most of which are not displayed on your keyboard.  

The following script will list all of the symbols that can be generated with HTML (65536 total).  Different browsers will recognize different HTML codes with some browsers recognizing a greater range of characters, etc. than others.  

while ($a<65535)

Note: page may take a few seconds to load as it is 578 kb in size.

Some of the characters that you see are ASCII characters and some are Unicode characters and some can be represented either way.

Some examples of characters created include: or Æ or or or .  

You can play around with it on your keyboard for example if you hold the alt key down and type the number 8595 and then release the alt key a down arrow will pop up or  alt + 8595 for short.  The characters displayed are called Unicode characters.  Play around with different numbers to see what comes up.  This can be great for creating short cuts or creating amazingly tough to crack passwords and opens up a whole new realm of ways to express yourself.

To see the character maps on your computer (with windows XP anyway) Start > All Programs > Accessories > System Tools > Character Map.  Here you will see the character map available as well as what they are called and what the unicode value is and keystroke to create the symbol and many other facts.

A more readable version
The following will list the potential symbols all on one page.  This is done just for readability depending on your preference.
while ($a>0)

The above can be used to display characters or symbols in forums.  Other forms of notation are binary, hexadecimal, ascii, and octal.  There may be others, but those are the ones that I know of.

Note: There are only 2 uses for octal I can think of in regards to web design.  The first involves setting the permissions for a flat file.  The second is for encoding certain data to be stored in a string.  I believe that I used to do this before I learned about escaping characters.


TAGS: php
Daily Bible Quote
#26 of 46

And a multitude was sitting around Him; and they said to Him, "Look, Your mother and Your brothers are outside seeking You." But He answered them, saying, "Who is My mother, or My brothers?" And He looked around in a circle at those who sat about Him, and said, "Here are My mother and My brothers! For whoever does the will of God is My brother and My sister and mother."
Mark 33:33-35
10 most recently updated articles.

Opera links
17 hours ago.
Upcoming Dates
1 day ago.
12 days ago.
Opera Legacy: Tips
19 days ago.
Game Links (Misc)
22 days ago.

5 most recently updated news items.

copyright 2005–2015