Re: [Zope] charset problems (utf-8)

2012-02-10 Thread Hugo Ramos
Hi Miguel, Yes, as I wrote in my first email, all encoding options in zope.conf are set to utf-8... On Thu, Feb 9, 2012 at 9:13 PM, Miguel Beltran R. wrote: > > > 2012/2/6 Hugo Ramos > > >> >> But this doesn't seem to be the problem because templates encoded as >> utf-8 or iso-8859-1 all have

Re: [Zope] charset problems (utf-8)

2012-02-09 Thread Miguel Beltran R.
2012/2/6 Hugo Ramos > But this doesn't seem to be the problem because templates encoded as > utf-8 or iso-8859-1 all have the same problem. > > Any more ideas? > > > are you played witth *default-zpublisher-encoding* option in zope.conf? Lo bueno de viv

Re: [Zope] charset problems (utf-8)

2012-02-06 Thread Fernando Martins
On 02/06/2012 04:59 PM, Hugo Ramos wrote: Is there any tool I can use to convert all objects in my data.fs to utf-8? I had unicode related problems which usually come from mixing different encodings. In my case pretty much all my data also comes from a relational database. Also, not all versi

Re: [Zope] charset problems (utf-8)

2012-02-06 Thread Hugo Ramos
Is there any tool I can use to convert all objects in my data.fs to utf-8? On Mon, Feb 6, 2012 at 3:24 PM, Dragos Chirila wrote: > Hi, > > You have to make sure that everything has the same encoding (strings, text > values). I recomend you to convert everything to unicode and then put > someth

Re: [Zope] charset problems (utf-8)

2012-02-06 Thread Hugo Ramos
The correct prefix in the HTML header ( is not needed because it affects the browser behavior only and all my 3 browsers are set to UTF-8 by default. I've checked and I have some templates encoded as utf-8 and others as iso-8859-1. This happens because some of the templates (mainly the ones encode

Re: [Zope] charset problems (utf-8)

2012-02-06 Thread Dragos Chirila
Hi, You have to make sure that everything has the same encoding (strings, text values). I recomend you to convert everything to unicode and then put something like below as a first line in your page: and in the HEAD HTH, Dragos On Mon, Feb 6, 2012 at 2:38 PM, Hugo Ramos wrote: > I guess

Re: [Zope] charset problems (utf-8)

2012-02-06 Thread Hugo Ramos
I guess no one has charset problems... On Thu, Feb 2, 2012 at 6:06 PM, Hugo Ramos wrote: > Yellow, > > I've noticed charset problems displaying HTML pages. > > Let's say I want to display a page using a DTML Method like this: > > > > ... > > > > á Á à À ç > > > > This page is ok and I can

[Zope] charset problems (utf-8)

2012-02-02 Thread Hugo Ramos
Yellow, I've noticed charset problems displaying HTML pages. Let's say I want to display a page using a DTML Method like this: ... á Á à À ç This page is ok and I can see the portuguese letters fine. The problem starts when I do this: ... á Á à À ç The first line of character