The issue occurs when you copied some text directly from MS Word to WP WYSIWYG text editor using windows cut and paste options. Some unfriendly code is also added there.
1) Go to user profile
2) Select a nick name first
3) “Update”
4) Your new nick name should be added to the “Public display name” list box.
5) select your public name
6) Update.