I have the next form of html
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
....
<form accept-charset="utf8" id="validation_data" action="script/submit_buy_sapsan.php" method="POST" ;>
<div class="type_payment">
<div class="list">
<input class="last_name" type="text" maxlength="35" size="23" name="passenger[0][lastName]" value='' placeholder="Фамилия">
...............
</form>
I enter a text to i_nput and i send to handler script, which i set in the form.
i just show a post data to self in the handler script(print_r($_POST))
. The next i check type of encoding data, and i see - ascii instead of utf-8. I tried to read a documentation from w3 and i seen that i can use accept-charset, but it doesn't help me. I tried to set encoding with help php functions(iconv, mb_convert_encoding and etc) it doesn't help too. Actually i get different encoding, hammering different texts, in my handler script and i don't understand why. I need utf-8