CS520
Spring 2013
Laboratory 2
Friday February 1
The lab must be submitted prior to 8am on Saturday February 2.


Test your current solution to Program 1 on correct UTF-8 encodings of Unicode characters from the Basic Multilingual Plane (BMP).

There are a few test files available on agate in ~cs520/public/lab2. But you should consider doing exhaustive testing, since there are only 64K Unicode characters in the BMP. How can you do this?

To turn in this laboratory, type:

% ~cs520/bin/submit lab2 decodeUTF8.c

Submissions can be checked by typing:

% ~cs520/bin/scheck lab2

60 points will be awarded for correctly handling UTF-8 one-byte encodings, 20 additional points will be awarded for also correctly handling two-byte encodings, and another 20 additional points will be awarded for also correctly handling three-byte encodings.

Remember that there are no late submissions of labs. Submit what you have prior to 8am on Saturday February 2.


Last modified on January 10, 2013.

Comments and questions should be directed to hatcher@unh.edu