Decode Unicode from Scratch inputs correctly

Fixes #3.