Convert text into UTF-8 when importing a content.

#4570