9 Nov
2007
9 Nov
'07
10:16 a.m.
----- Original Message ----- From: "adam molyneaux" <adam.molyneaux@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