fix richText UTF8
Merge pull request #7501 from andyque/fixRichTextUTF8

fix richText UTF8