Use signed chars instead of just generic characters - so that it works on different architectures.