Answers to Self-Review exercises

E.1

a) localize. b) encoding. c) universal, efficient, uniform, unambiguous. d) character. e) portable. f) UTF-8.

E.2

a) False. It encompasses the majority of the world's characters. b) False. The yyyy represents a hexadecimal number. c) False. A diacritic is a special mark added to a character to distinguish it from another letter or to indicate an accent. d) True. e) False. Unicode characters are denoted by uyyyy.

Exercises

E.3

Navigate to the Unicode Consortium Web site (www.unicode.org) and write the hexadecimal code values for the following characters. In which block are they located?

  1. Latin letter "Z."
  2. Latin letter 'n' with the "tilde (~)."
  3. Greek letter "delta."
  4. Mathematical operator "less than or equal to."
  5. Punctuation symbol "open quote (")."

E.4

Describe the Unicode Standard design basis.

E.5

Define the following terms:

  1. code value.
  2. surrogates.
  3. Unicode Standard.
  4. UTF-8.
  5. UTF-16.
  6. UTF-32.

E.6

Describe a scenario where it is optimal to store your data in UTF-16 format.

E.7

Using the Unicode Standard code values, create a program that prints your first and last name. If you know other writing systems, print your first and last name in those as well. Use a Label to display your name.

Appendix F Introduction to XHTML Part 1

Категории