Read multi-byte character codes based on codespace ranges.