tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Frederic <jfcl...@gmail.com>
Subject Re: More on i5/OS and some modifications needed
Date Mon, 23 Apr 2007 12:51:13 GMT
On Mon, 2007-04-23 at 12:26 +0200, Henri Gomez wrote:
> Hi to all,
> 
> I'm still working on i5/OS V5R4 port and I'm facing the following problem.
> 
> i5/OS is an EBCDIC system, but in V5R4, IBM decided, for modules
> writer ease, to make all HTTP and APR routines works in UTF.
> 
> That's fine but all the native runtime functions still works in EBDIC.
> 
> So function like strcasecmp compare 2 strings in case unsensitive mode
> but works in EBCDIC charsets and as consequence Content-Type !=
> Content-type.
> 
> Could we use instead the apr_strnatcasecmp, for example in mod_jk.c
> for apache 2 ?

Better use something like:
#ifdef AS400_UTF8
#define strcasecmp(a,b) apr_strnatcasecmp(a,b)
#endif

Cheers

Jean-Frederic

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


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


Mime
View raw message