utf 8 - Firefox use another charset when send form -
i have problem firefox browser. on page have "form" , when submit "form" webpage change charset "utf-8" "windows-1250". when go place in page charset go "utf-8". problem in firefox in browser works fine (chrome, opera, ie - can check in safari etc..)
search on internet lot of time, found nothing. way via ajax or change in firefox or plugin, need solution can work without change in browser. because clients must have correct default charset => no "alert" information must change on pc. have firefox 27.0.1.
i have codes:
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="content-language" content="cs" /> <form accept-charset="utf-8" action="poslat.html" onsubmit="this.action=''; return kontrola_udaju_vlozit_inzerat(this);" method="post" enctype="multipart/form-data">
attribute "accept-charset" don´t me. , of pages (php, js) in utf-8. have problem on 3 sites (i mean) , type of problem have peoples on internet , mean firefox bug need solved it.
can me?
i found workaround /not solution/ : redirect specified url instead of displaying same page after form submit
just few minutes later found solution: added line htaccess:
adddefaultcharset utf-8
works :) in page
Comments
Post a Comment