CS520
Spring 2016
Laboratory 2
Friday February 5
The lab must be submitted prior to noon on Sunday February 7.


Test your current encodeUTF16 and decodeUTF16 programs on correct 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 encodeUTF16.c decodeUTF16.c

Submissions can be checked by typing:

% ~cs520/bin/scheck lab2

50 points will be awarded for encodeUTF16 and 50 points will be awarded for decodeUTF16.

Remember that there are no late submissions of labs. Submit what you have prior to noon on Sunday February 7.


Last modified on January 25, 2016.

Comments and questions should be directed to pjh@cs.unh.edu