httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron W Morris <>
Subject Re: [users@httpd] encoding problem
Date Sat, 03 Jan 2004 23:43:52 GMT
Pedro Salgueiro wrote:
> Hi.
> I have made a script in php that calls a java program.
> This java program will make a connection to a
> PostgreSQL db and do some operations. That java
> program works just fine if I run it on a console, but
> when it is php to run it gives errors related to the
> charset encoding.
> The error that apears in "error.log" is the following:
> Java.sql.SQLException: ERROR:  Could not convert UTF-8
> to ISO8859-1
> I think that the problem is than Apache or PHP is
> runing the java program with UTF-8 encoding, while it
> should be running with iso8859-1.
> Does anyone knows how to solve this problem?
> Thanks.
> Pedro Salgueiro.

What about doing the "operations" with php?  It seems to me that it 
would be much faster and less complex to do that.

Aaron W Morris <> (decep)

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message