<?php

$string='vo  lé2"\\?\'';

//echo $string."<br>";
$string=fixEncoding($string);
echo fixEncoding($string)."<br>";

echo supersterilize($string)."<br>";

echo supersterilize($string, false, true)."<br>";

echo preg_replace("/[^\d\w_-]/u", "", $string);

echo preg_replace('/[^\p{L}\p{N}\d_-\s]/u', "", $string);

?>


<IFRAME id=wxButtonFrame name=wxButtonFrame align=top marginWidth=0 marginHeight=0 src="http://btn.weather.ca/weatherbuttons/template1.php?placeCode=CAAB0103&category0=Cities&placeCode1=CASK0276&category1=Cities&placeCode2=CAAB0253&category2=Cities&placeCode3=CAAB0173&category3=Cities&placeCode4=CAAB0140&category4=Cities&containerWidth=234&%20btnNo=13431&backgroundColor=blue&multipleCity=1&citySearch=1&celsiusF=C" frameBorder=0 width=234 scrolling=no height=80></IFRAME>
