webxml (1.12-3) 01-encoding-bug.patch

Summary

 webxml.ui.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

--- webxml/webxml.ui.h	2003-03-06 10:50:23.000000000 -0300
+++ webxml-1.12/webxml.ui.h	2005-09-14 11:51:01.000000000 -0300
@@ -491,7 +491,7 @@
     QTextStream t( &f );
     //QTextCodec *codec = QTextCodec::codecForName("KOI8-R"); // get the codec for KOI8-R
     //t.setCodec(codec);
-    t << "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>" << "\n";
+    t << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << "\n";
     t << "<!DOCTYPE web-app" << "\n";
     t << "PUBLIC \"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN\"" << "\n";
     t << "\"http://java.sun.com/dtd/web-app_2_3.dtd\">" << "\n";
@@ -878,7 +879,7 @@
     frmPreview *pr=new frmPreview();
     QString str;
      QTextStream t( &str, IO_WriteOnly );
-    t << "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>" << "\n";
+    t << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << "\n";
     t << "<!DOCTYPE web-app" << "\n";
     t << "PUBLIC \"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN\"" << "\n";
     t << "\"http://java.sun.com/dtd/web-app_2_3.dtd\">" << "\n";