enconding dei form

Roberto Marzialetti <[email protected]>
Newsgroups gmane.comp.cms.cold-fusion.devel.italian
Message-ID <CAH4YkK5fr3jjd7boYJqE__OGS89NOm1e1snrkAxeJOsW7_UdBw@mail.gmail.com>
ciao!

non riesco a passare via form le accentate ad un gateway

se faccio un cfdump in html del form le accentate le vedo correttamente.

ma se le butto su un file con
<cfudmp output="nomefile">
vedo:
MESSAGGIO: ? ? ? ? ? ?

se invece suo un <cffile charset="utf-8"> vedo correttamente
MESSAGGIO: é é é ò ò à

il mio gateway invece riceve sempre.
MESSAGGIO: ? ? ? ? ?

la cosa strana è che se scrivo nel db funziona bene.

uso cfhttp per contattare il gateway (non mio)
e pur usando
<cfhttp charset="utf-8">
<cfhttpparam type="header" name="charset" value="utf-8">
non funziona sia in get che in post

nella pagina ho provato a mettere di tutto:
<cfprocessingdirective pageEncoding="utf-8">
<cfcontent type="text/html; charset=UTF-8">
<cfset setEncoding("form","UTF-8")>
<cfset setEncoding("url","UTF-8")>

senza risultato

qualche idea?!

grazie

--
Roberto Marzialetti
webdeveloper
m. 329 0681847


-- 
Roberto Marzialetti
webdeveloper
m. 329 0681847


------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.