How to Set XML Encoding

104 17
    • 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...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.