Fixes #2548. Page type creation failed if title field was chinese characters