How to Set XML Encoding
- 1). Open the XML document you wish to change in your text editor.
- 2). Ensure your XML file begins with the following line (by either modifying it if it exists or adding it if it doesn't):
<?xml version="1.0" encoding="utf-16" ?> - 3). In jEdit, go to the "Utilities" menu and select "Buffer Options." From the dialog that opens, change the character encoding value to "UTF-16."
- 4). Save your file.
Source...