Non riesco a visualizzare i caratteri greci contenuti in un database Mysql in una pagina asp,
appiaiono solo punti interrogativi ?????????.
La collation del database è impostata: greek_general_ci,
Il collagamento al DB:
Set DBConn = Server.CreateObject("adodb.connection")
DBConn.ConnectionString="server=ipserver;charset=U TF-8;db=Nome_Db; " _
& "driver=MySQL;uid=utente;pwd=password;set names=UTF-8"
la pagina asp:
<head>
<title>Test Greco</title>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
</head>
<body>
<%
SQLQuery = "SELECT * FROM test"
Set RS = DBConn .Execute(SQLQuery)
Do Until RS.EOF
strTesto = RS("testo")
response.write strTesto
RS.MoveNext
Loop
RS.Close
Set RS = Nothing
%>
</body>
</html>
il risultato:
????? ???? ???? ??????????? ??? ???? ??? ??? ???????? ??? ??????? ?
Qualcuno mi puo' aiutare?
Grazie

Rispondi quotando