Fixed special characters issue

Fixed special characters issue. Help desk case - 26127. Tested with
WordPress 4.0 and CiviCRM 4.0