2433bb4e52
There was an implicit assumption that first character within surrogate header range implies the next character must form a surrogate pair, which is not necessarily true.