I have a problem on my MySQL,
When I save a route with a stress on the name of the route it don't load the markers on map, I'm using utf8
For example, if I write: "á, â, ã, ó, etc..." my markers stop to appear on the map.
PHP Solution: (Only way that worked was use str_replace)
function parseToXML($htmlStr) 
{ 
$xmlStr=str_replace('<','<',$htmlStr); 
$xmlStr=str_replace('>','>',$xmlStr); 
$xmlStr=str_replace('"','"',$xmlStr); 
$xmlStr=str_replace("'",''',$xmlStr); 
$xmlStr=str_replace("&",'&',$xmlStr); 
$xmlStr = str_replace( 'À', 'À', $xmlStr ); 
$xmlStr = str_replace( 'Á', 'Á', $xmlStr ); 
$xmlStr = str_replace( 'Â', 'Â', $xmlStr ); 
$xmlStr = str_replace( 'Ã', 'Ã', $xmlStr ); 
$xmlStr = str_replace( 'Ä', 'Ä', $xmlStr ); 
$xmlStr = str_replace( 'Å', 'Å', $xmlStr ); 
$xmlStr = str_replace( 'Æ', 'Æ', $xmlStr ); 
$xmlStr = str_replace( 'Ç', 'Ç', $xmlStr ); 
$xmlStr = str_replace( 'È', 'È', $xmlStr ); 
$xmlStr = str_replace( 'É', 'É', $xmlStr ); 
$xmlStr = str_replace( 'Ê', 'Ê', $xmlStr ); 
$xmlStr = str_replace( 'Ë', 'Ë', $xmlStr ); 
$xmlStr = str_replace( 'Ì', 'Ì', $xmlStr ); 
$xmlStr = str_replace( 'Í', 'Í', $xmlStr ); 
$xmlStr = str_replace( 'Î', 'Î', $xmlStr ); 
$xmlStr = str_replace( 'Ï', 'Ï', $xmlStr ); 
$xmlStr = str_replace( 'Ð', 'Ð', $xmlStr ); 
$xmlStr = str_replace( 'Ñ', 'Ñ', $xmlStr ); 
$xmlStr = str_replace( 'Ò', 'Ò', $xmlStr ); 
$xmlStr = str_replace( 'Ó', 'Ó', $xmlStr ); 
$xmlStr = str_replace( 'Ô', 'Ô', $xmlStr ); 
$xmlStr = str_replace( 'Õ', 'Õ', $xmlStr ); 
$xmlStr = str_replace( 'Ö', 'Ö', $xmlStr ); 
$xmlStr = str_replace( '×', '×', $xmlStr );  // Yeah, I know.  But otherwise the gap is confusing.  --Kris 
$xmlStr = str_replace( 'Ø', 'Ø', $xmlStr ); 
$xmlStr = str_replace( 'Ù', 'Ù', $xmlStr ); 
$xmlStr = str_replace( 'Ú', 'Ú', $xmlStr ); 
$xmlStr = str_replace( 'Û', 'Û', $xmlStr ); 
$xmlStr = str_replace( 'Ü', 'Ü', $xmlStr ); 
$xmlStr = str_replace( 'Ý', 'Ý', $xmlStr ); 
$xmlStr = str_replace( 'Þ', 'Þ', $xmlStr ); 
$xmlStr = str_replace( 'ß', 'ß', $xmlStr ); 
$xmlStr = str_replace( 'à', 'à', $xmlStr ); 
$xmlStr = str_replace( 'á', 'á', $xmlStr ); 
$xmlStr = str_replace( 'â', 'â', $xmlStr ); 
$xmlStr = str_replace( 'ã', 'ã', $xmlStr ); 
$xmlStr = str_replace( 'ä', 'ä', $xmlStr ); 
$xmlStr = str_replace( 'å', 'å', $xmlStr ); 
$xmlStr = str_replace( 'æ', 'æ', $xmlStr ); 
$xmlStr = str_replace( 'ç', 'ç', $xmlStr ); 
$xmlStr = str_replace( 'è', 'è', $xmlStr ); 
$xmlStr = str_replace( 'é', 'é', $xmlStr ); 
$xmlStr = str_replace( 'ê', 'ê', $xmlStr ); 
$xmlStr = str_replace( 'ë', 'ë', $xmlStr ); 
$xmlStr = str_replace( 'ì', 'ì', $xmlStr ); 
$xmlStr = str_replace( 'í', 'í', $xmlStr ); 
$xmlStr = str_replace( 'î', 'î', $xmlStr ); 
$xmlStr = str_replace( 'ï', 'ï', $xmlStr ); 
$xmlStr = str_replace( 'ð', 'ð', $xmlStr ); 
$xmlStr = str_replace( 'ñ', 'ñ', $xmlStr ); 
$xmlStr = str_replace( 'ò', 'ò', $xmlStr ); 
$xmlStr = str_replace( 'ó', 'ó', $xmlStr ); 
$xmlStr = str_replace( 'ô', 'ô', $xmlStr ); 
$xmlStr = str_replace( 'õ', 'õ', $xmlStr ); 
$xmlStr = str_replace( 'ö', 'ö', $xmlStr ); 
$xmlStr = str_replace( '÷', '÷', $xmlStr );
$xmlStr = str_replace( 'ø', 'ø', $xmlStr ); 
$xmlStr = str_replace( 'ù', 'ù', $xmlStr ); 
$xmlStr = str_replace( 'ú', 'ú', $xmlStr ); 
$xmlStr = str_replace( 'û', 'û', $xmlStr ); 
$xmlStr = str_replace( 'ü', 'ü', $xmlStr ); 
$xmlStr = str_replace( 'ý', 'ý', $xmlStr ); 
$xmlStr = str_replace( 'þ', 'þ', $xmlStr ); 
$xmlStr = str_replace( 'ÿ', 'ÿ', $xmlStr ); 
return $xmlStr; 
} 
ON MySQL appear the name with stress, the problem is when I load it, the problem is on uft8 or on the PHP ?

 
    