Understanding Unicode and converting it to code points.

I had to make a patch to convert Unicode chars to code points and it turned
out to be a fun exercise.Here are the links which helped me in
understanding Unicode and its conversion algo.