Make ord() Unicode-aware
Record byte lengths for byte strings