how to specify xml encoding while generating xml in java using Dom
843834Dec 31 2007 — edited Jan 2 2008I had generated an xml using java using Dom. In the xml though i'm not specifying the version and encoding attributes by default version and encoding are coming like this
<?xml version="1.0" encoding="UTF-8" ?> .. i want to change the encoding value as "windows-1251..
Can anyone help please!