Extended characters in Zope
I have to deal with documents and its attributes wich have a lot of extended characters in them, like the "ñ" or the hyphened "á"..."ú" vocals in spanish. The ones who download the pages in Windows don't have any trouble. The ones who use Mac will see strange characters, as it might be expected. Updating a page or propertie from a Mac will cause the same problem for Windows users, because Zope doesn't convert the extended characters to the web-friendly format when properties are added. I'd also like to search in Zcatalog using these extended characters, ie. "Effects of El Niño", from any platform. Is there a workaround for this situation? Ausum p.d I'm sure that european Zopists have already faced this problem and probably found a solution. Unfortunately I couldn't find it at the archives.
Ausum wrote:
I have to deal with documents and its attributes wich have a lot of extended characters in them, like the "ñ" or the hyphened "á"..."ú" vocals in spanish.
The ones who download the pages in Windows don't have any trouble. The ones who use Mac will see strange characters, as it might be expected. Updating a page or propertie from a Mac will cause the same problem for Windows users, because Zope doesn't convert the extended characters to the web-friendly format when properties are added.
Modern browsers usually understand the charset attribute (and IIRC the default charset for HTML defined in spec is ISO-8859-1 not MAC ;). so just put <meta HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1"> in <head> section and you should be ok -------------------- Hannu
participants (2)
-
Ausum -
Hannu Krosing