[Zope] character encoding

Jaroslav Lukesh lukesh at seznam.cz
Fri Nov 9 05:16:32 EST 2007


----- Original Message ----- 
From: "adam molyneaux" <adam.molyneaux at bluewin.ch>
> 1. Read and parse a file encoded as utf8 - currently done with an external 
> script
> 2. send it to a page to edit as utf8
> 3. save it from the page into a mysql database as utf8
>
>
> This is slightly complicated by the fact that steps 2 and 3 need to happen 
> via XMLHttpRequest calls, and the data is sent serialized as JSON

I use at method where are loaded with ajax this:

<dtml-call "RESPONSE.setHeader('content-type', 'text/html; 
charset=windows-1250')">

You should modify charset to utf-8

REgards, JL



More information about the Zope mailing list