axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r372192 - /webservices/axis2/trunk/c/modules/xml/om/om_output.c
Date Wed, 25 Jan 2006 10:58:25 GMT
Author: nandika
Date: Wed Jan 25 02:58:22 2006
New Revision: 372192

URL: http://svn.apache.org/viewcvs?rev=372192&view=rev
Log:
default char set encoding added 

Modified:
    webservices/axis2/trunk/c/modules/xml/om/om_output.c

Modified: webservices/axis2/trunk/c/modules/xml/om/om_output.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/om_output.c?rev=372192&r1=372191&r2=372192&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/om_output.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/om_output.c Wed Jan 25 02:58:22 2006
@@ -16,9 +16,10 @@
 
 #include <axis2_om_output.h>
 #include <stdarg.h>
+#include <axis2_string.h>
 #include <axis2_xml_writer.h>
 
-#define AXIS2_DEFAULT_CHAR_SET_ENCODING  "utf-8"
+#define AXIS2_DEFAULT_CHAR_SET_ENCODING  "ISO-8859-1"
 #define MAX_ARGS  4
 /****************************** impl struct ***********************************/
 
@@ -182,6 +183,9 @@
     om_output_impl->om_output.ops->write_xml_version_encoding =
         axis2_om_output_write_xml_version_encoding;
         
+        
+    om_output_impl->char_set_encoding = AXIS2_STRDUP(
+        AXIS2_DEFAULT_CHAR_SET_ENCODING, env);        
     return &(om_output_impl->om_output);
 }
 



Mime
View raw message