Re: Quercus illegal utf8 encoding

Scott Ferguson <[email protected]> Wed, 5 Jul 2006 06:35:54 -0700
Newsgroups gmane.text.xml.resin.user
Message-ID <[email protected]>
On Jul 5, 2006, at 5:20 AM, Tero Ripattila wrote:

>
>> Somebody knows how to set server encoding or avoid this behavior?
>
> I noticed this too when I converted my custom PHP application from
> Apache2 to Resin. You need to convert your PHP files to use some other
> character set instead of UTF-8 - I'm using ISO-8859-1 here.

With the snapshot, the default encoding is utf-8.  It's set with

<servlet ... servlet-class='com.caucho.quercus.servlet.QuercusServlet'>
   <init script-encoding='iso-8859-1'/>
</servlet>

-- Scott
>
> HTH,
>
> -- Tero
>
>
>
>
>