- utf8_decode: documentation ( source)
- str_replace: documentation ( source)
- html_entity_decode: documentation ( source)
<?php
$_REQUEST['value'] = '–';
$value = $_REQUEST['value'];
$value = str_replace(chr(226), '-', $value);
$value = html_entity_decode(utf8_decode($value));
echo $value;