lunedì 28 ottobre 2013

permettere caratteri speciali nel passaggio testo tramite AJAX

Soluzione 1
Nella pagina chiamata mettere
response.ContentType = "text/plain"
response.Charset = "ISO-8859-1"

soluzione 2
Nella pagina chiamata mettere
<%

Response.ContentType = "text/html"
Response.AddHeader "Content-Type", "text/html;charset=UTF-8"
Response.CodePage = 65001
Response.CharSet = "UTF-8"

%>

Nessun commento:

Posta un commento