sql - PHP query / mdb encoding issue question mark using odbc query -
i have problem getting data mdb database. have table persons name , surname in spanish have tildes 'agustí' , 'ñ'. making query shows this:
alexis agust� sans
i don´t have idea encoding think solution encoding utf-8. right?.
i add here code of query, it´s simple:
 // connection ok, don´t worry  $cidl=odbc_connect($dsnl, $usuariol, $clavel, sql_cur_use_odbc);  $queryl = "select * personas val=1";  $resultl = odbc_exec($cidl, $queryl);  while(odbc_fetch_row($resultl))  {  $nombre=odbc_result($resultl, 'nombre');  $apellidos=odbc_result($resultl, 'apellido');  $nombrecompleto=$nombre.' '.$apellidos;  echo $nombrecompleto;  } how can surname('apellido') without question mark?
thanks.
 
 
  
Comments
Post a Comment