I have a html form, into a php script (in a php file)
the form title, the field title, and so on, are showing well but the content which is introduced by the user into the form, when it has "á, é, í, ó, ú" or "ñ" the output of the script, converts these characters into "??"
I have set
<meta charset="utf-8" />
and
header('Content-Type: text/html; charset=utf-8');
in all the files involving the form (also the character allowed into the form) and the action url also has that config.
but, my special chars still are converted to "??"
any clue? thanks
EDIT: files are encoding in utf8 also tried in utf8-without bom
EDIT 2:
my form is:
<form action="file.php" accept-charset="UTF-8" method="post">';
<label>
<span>trailer</span>
<input type="text" name="calidad">
</label>
<label>
<span>Mediainfo (requerido)</span>
<textarea name="mediainfo"></textarea>
</label>
<input type="hidden" name="board" id="board" value=' . $foro . '>
<label>
<span>info</span>
<input placeholder="" type="text" name="info" tabindex="3" required>
</label>
<input class="botonsubmit" type="submit" value="Postear" name="sub2">
</form>
file.php only uses
$mediainfo = request_var('mediainfo','');
then i echo that variable.