Aiuto !
Qualsiasi pagina abbia lettere accentate non risesco a visulizzarle.. E' un prblema di codifica ? Se si come posso fare per risolverlo ? In giro ho trovato poco e soprattutto non chiaro..
Grazie..
codice:
<html>
<head>
<title>Prova</title>
</head>
<body>
<%@ Page Language="VB" Trace="false" Debug="true" aspcompat=true%>
<script runat="server">
function bts(myData)
dim textConverter As New ASCIIEncoding
dim sOut = ""
sOut = textConverter.GetString(myData)
bts=sOut
end function
Public Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim strURLCast = "http://www.mymovies.it/film/2001/blow/"
Dim strPaginaCast
Dim objXMLHTTP
objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
objXMLHTTP.Open ("GET", strURLCast, false)
objXMLHTTP.Send
strPaginaCast = bts(objXMLHTTP.responseBody)
response.write(strPaginaCast)
end sub
</script>
</body>
</html>