-----Original Message----- From: Yves Vindevogel [mailto:[EMAIL PROTECTED] Sent: maandag 1 maart 2004 17:35 To: [EMAIL PROTECTED] Subject: RE: Non-Ascii from Postgres
The encoding thing does not help. Could this be a bug in 2.1.(4) ? I checked my connection, it includes charSet=iso-8859-1. I checked every single file, all have iso-8859-1. Is there content in the database that cannot be depicted ? -----Original Message----- From: Yves Vindevogel [mailto:[EMAIL PROTECTED] Sent: zondag 29 februari 2004 22:35 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Non-Ascii from Postgres The <encoding>iso-8859-1</encoding> tag is in my sitemap. I only have the error on Cocoon 2.1.4 (Jetty on 8888) When I use another machine that still uses 2.0.xx, with the same database, it works. -----Original Message----- From: Yves Vindevogel [mailto:[EMAIL PROTECTED] Sent: zondag 29 februari 2004 22:15 To: [EMAIL PROTECTED] Subject: Non-Ascii from Postgres Hi, I get this error from Cocoon 2.1. org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): org.apache.avalon.framework.CascadingRuntimeException: Error getting ascii data for column namenl It happens when I get non-ascii data from my database. I only have it on Cocoon 2.1. I know I have to change the content-type somewhere in my sitemap, but I've forgotten where. Somebody a quick hint ?? Yves -----Original Message----- From: Yves Vindevogel [mailto:[EMAIL PROTECTED] Sent: zondag 29 februari 2004 20:04 To: [EMAIL PROTECTED] Subject: RE: deleting file Yes, you are right about that, but this command gives you access to all the shell commands. -----Original Message----- From: Geoff Howard [mailto:[EMAIL PROTECTED] Sent: zondag 29 februari 2004 19:58 To: [EMAIL PROTECTED] Subject: Re: deleting file Yves Vindevogel wrote: >Got this once .... but you can read what Steven Noels thinks about it ... > >Yves Vindevogel wrote: > > >>Is there anything within Cocoon that interacts with the (*nix)-shell ? >>Or a way to do this ? >> >> > >System.exec() from Java, but evil as hell. Don't!!! > ></Steven> > > Not sure what that has to do with deleting a file? A java.io.File object has a delete() method which has always worked quite well for me! See http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html What Stephen was referring to was executing arbitrary shell executables which is of course non-portable across OSs and has deadlock issues (though they can be worked around to a great degree). It's also aesthetically at odds with the general Java paradigm and so should really be a last resort. Geoff --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]