What timing. I am going through something similar.

Had a zope 2.7.0 instance on RH9..not sure of the python.
Had a bunch customer sites in it using VHM. Nothing in front of the zope. (I 
know....)

Moved to a new server, RHE4, Zope 2.7.5 on Python 2.3.5
Just moved the Data.fs and moved products and restarted. Perfect.

Now one customer says they are seeing question marks in places where bullets and apostrophes, etc. should be. Looking at the encoding the browser picks up and it always goes to UTF-8. If I manually switch it to Western ISO the page looks fine.

Where does this get set? In Linux? In Python? In Zope? ...and if so, where 
exactly and how to change it?

Any help appreciated.

Allen


Peter Bengtsson wrote:

Set the locale on the Zope installation in zope.conf

If you're unsure about your code, try this
$ set | grep LANG
On 9/8/05, Niklas Saers <[EMAIL PROTECTED]> wrote:

Hey guys,
I've installed Zope on a FreeBSD server. My problem domain is very small:
display a list of when people are unavailable, and let people update the
list. This is all in Danish, and here are come my problems. Danish has three
extra letters not in the ASCII alfabet, three upper-case and three
lower-case. When getting the data from a <input name="test" /> where I've
written "æ ø å Æ Ø Å", I get: æ ø Ã¥ Æ Ø Ã…

What is the standard way of ensuring that I get the correct data?

I tried writing a little converter, but the string

tekst = tekst.replace("\xc3\xa6", "ae");

gives me the error UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3
in position 0: ordinal not in range(128)

Do you have any suggestion on how to overcome these problems?

Cheers

Nik _______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )







------------------------------------------------------------------------

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to