• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. JavaScript Syntax > ASCII and Unicode

ASCII and Unicode

Several years ago, the ASCII standard defined 128 basic character codes for standardized use on any computer platform. This included the character code 65 for the letter “A”, the code 32 for a space, the code 13 for a carriage return, and so on. The ASCII code has been a mainstay of computer coding for years, and in JavaScript appears in escaped characters and character codes extracted from strings or keyboard events.

However, in recent years, the ASCII format has proved insufficient to express common characters in languages other than English. For instance, there is zero support in ASCII for Japanese characters, or mathematical symbols. A partial solution, specialized fonts, arose to alleviate the problem. (The Symbol and Wingdings fonts have been the best-known such fonts.)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint