ECMS-4702: The accented characters are not properly saved.

Fix description:
   - using encoding utf-8 to save string value