What do you get if you don't force the conversion to UTF-8?

echo '<td >'.$reg['bano'].'</td>';

On Wednesday, January 23, 2013 5:07:25 PM UTC-5, Chrystopher Medina wrote:
>
> my friend i have this.  just on these two fields i have ñ.á,ó,í but . no 
> my friend this does´t work.   if u want to watch my friend look up in 
> http://hotelavandaro.com.mx/encuesta/ with user= alvarojeda and 
> password=alvarojeda. 
>  while($reg=  mysql_fetch_array($listado))
>                    {
>                           
>                                echo '<tr>';
>                                echo '<td 
> >'.mb_convert_encoding($reg['nombre'], "UTF-8").'</td>';
>                                echo 
> '<td>'.mb_convert_encoding($reg['num_hab'], "UTF-8").'</td>';
>                                echo 
> '<td>'.mb_convert_encoding($reg['email'], "UTF-8").'</td>';
>                                echo 
> '<td>'.mb_convert_encoding($reg['telefono'], "UTF-8").'</td>';
>                                echo 
> '<td>'.mb_convert_encoding($reg['fecha'], "UTF-8").'</td>';
>                               echo '<td 
> >'.htmlentities(mb_convert_encoding($reg['bano'], "UTF-8"), null, 
> 'UTF-8').'</td>';
>                               echo '<td 
> >'.htmlentities(mb_convert_encoding($reg['spa'], "UTF-8"), null, 
> 'UTF-8').'</td>';
>                                echo '</tr>';
>                      
>                         }
>                     ?>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/8Y5ZQaW62BUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to