tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject svn commit: r531403 - /tomcat/connectors/trunk/jk/native/common/jk_global.h
Date Mon, 23 Apr 2007 09:59:00 GMT
Author: hgomez
Date: Mon Apr 23 02:58:59 2007
New Revision: 531403

URL: http://svn.apache.org/viewvc?view=rev&rev=531403
Log:
in i5/OS V5R4 Apache is no more using EBCDIC encoding

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_global.h

Modified: tomcat/connectors/trunk/jk/native/common/jk_global.h
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_global.h?view=diff&rev=531403&r1=531402&r2=531403
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_global.h (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_global.h Mon Apr 23 02:58:59 2007
@@ -108,7 +108,7 @@
 #define NOIME
 #endif
 #include <windows.h>
-/* 
+/*
  * Add a _very_few_ declarations missing from the restricted set of headers
  * (If this list becomes extensive, re-enable the required headers above!)
  * winsock headers were excluded by WIN32_LEAN_AND_MEAN, so include them now
@@ -276,6 +276,13 @@
 #endif                          /* CHARSET_EBCDIC */
 
 #endif                          /* APR_CHARSET_EBCDIC */
+
+/* on i5/OS V5R4 HTTP/APR APIs and Datas are in UTF */
+#if defined(AS400_UTF8)
+#undef USE_CHARSET_EBCDIC
+#define jk_xlate_to_ascii(b, l) /* NOOP */
+#define jk_xlate_from_ascii(b, l)       /* NOOP */
+#endif
 
 /* jk_uint32_t defines a four byte word */
 /* jk_uint64_t defines a eight byte word */



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message