How to Encode XML in UTF-8
- 1). Right-click the XML file you want to edit and select "Open With." Click your XML editor in the list of programs. You can also use Notepad to add the UTF-8 encoding type.
- 2). Add the following line of code at the top of the file:
<?xml version="1.0" encoding="UTF-8"?> - 3). Press the "Ctrl" and "S" keys to save the file changes. If you want to review the data file, open the file in an XML editor or your default Web browser.
Source...