Re: [Zope] Change the encoding of a single ZPT page

2006-09-05 Thread Luiz Fernando Bernardes Ribeiro
2006/8/31, Andreas Jung [EMAIL PROTECTED]: --On 31. August 2006 19:28:54 +0200 Dieter Maurer [EMAIL PROTECTED]wrote: Luiz Fernando Bernardes Ribeiro wrote at 2006-8-30 14:08 -0300: 2006/8/29, Andreas Jung [EMAIL PROTECTED]: ... After trying a lot of things, I found the problem is really in the

Re: [Zope] Change the encoding of a single ZPT page

2006-08-31 Thread Dieter Maurer
Luiz Fernando Bernardes Ribeiro wrote at 2006-8-30 14:08 -0300: 2006/8/29, Andreas Jung [EMAIL PROTECTED]: ... After trying a lot of things, I found the problem is really in the zpublisher realm, no matter what kind of encoding trick I use, even with a python script, the output is converted to

Re: [Zope] Change the encoding of a single ZPT page

2006-08-31 Thread Andreas Jung
--On 31. August 2006 19:28:54 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: Luiz Fernando Bernardes Ribeiro wrote at 2006-8-30 14:08 -0300: 2006/8/29, Andreas Jung [EMAIL PROTECTED]: ... After trying a lot of things, I found the problem is really in the zpublisher realm, no matter what kind

Re: [Zope] Change the encoding of a single ZPT page

2006-08-30 Thread Luiz Fernando Bernardes Ribeiro
2006/8/29, Andreas Jung [EMAIL PROTECTED]: --On 29. August 2006 12:28:30 -0300 Luiz Fernando Bernardes Ribeiro[EMAIL PROTECTED] wrote: Hello all, Is it possible to change the encoding of a page without having to change the default-zpublisher-encoding option in zope.conf? My default encoding is

Re: [Zope] Change the encoding of a single ZPT page

2006-08-30 Thread Luiz Fernando Bernardes Ribeiro
2006/8/30, Luiz Fernando Bernardes Ribeiro [EMAIL PROTECTED]: 2006/8/29, Andreas Jung [EMAIL PROTECTED]: --On 29. August 2006 12:28:30 -0300 Luiz Fernando Bernardes Ribeiro[EMAIL PROTECTED] wrote: Hello all, Is it possible to change the encoding of a page without having to change the

Re: [Zope] Change the encoding of a single ZPT page

2006-08-30 Thread Igor Stroh
Luiz Fernando Bernardes Ribeiro wrote: [...] Solved!! Using curl I found the problem was really the HTTP headers and the solution was always there in my face, in ZMI change the Content-type property to 'text/xml; charset=utf-8'. Simple and easy... Just make sure you don't run into

[Zope] Change the encoding of a single ZPT page

2006-08-29 Thread Luiz Fernando Bernardes Ribeiro
Hello all,Is it possible to change the encoding of a page without having to change the default-zpublisher-encoding option in zope.conf?My default encoding is iso8859-1 but we have to generate some XML files to a flash app, but flash only accept utf-8. I tried to encode the individual dynamic

Re: [Zope] Change the encoding of a single ZPT page

2006-08-29 Thread Andreas Jung
--On 29. August 2006 12:28:30 -0300 Luiz Fernando Bernardes Ribeiro [EMAIL PROTECTED] wrote: Hello all, Is it possible to change the encoding of a page without having to change the default-zpublisher-encoding option in zope.conf? My default encoding is iso8859-1 but we have to generate

Re: [Zope] Change the encoding of a single ZPT page

2006-08-29 Thread Dieter Maurer
Luiz Fernando Bernardes Ribeiro wrote at 2006-8-29 12:28 -0300: Is it possible to change the encoding of a page without having to change the default-zpublisher-encoding option in zope.conf? The default-zpublisher-encoding is relevant only when 1. the request returns a unicode object and 2.