So I have this HTML:
<form accept-charset="utf-8" method="post" action="result.php" target="_blank">
<select name="date-shamsi-week-day">
<option value="شنبه" selected>شنبه</option>
<option value="یکشنبه" title="something">یکشنبه</option>
</select>
</form>
and I want to print it in a variable in another file like this:
<?php
$dateshamsiweekday = $_POST['date-shamsi-week-day'];
echo $dateshamsiweekday;
?>
it works just fine but as you can see I need to use UTF-8 (persian characters) and it doesn't echo anything when looking at the output.
ٍEDIT: it's a shame but since it's my first day learning php I had a syntax error because I used ، after my variable name and it got nothing to do with UTF-8 Characters.