I have a problem using the Windows-1252 character set, when someone is using an ' in a text-area and want to submit the form it's crashed on that character.....only the ' is not working. ", € and % are working fine!
This is my code:
$textareaotherandrepair = stripslashes($_POST['correctiemaatregelentextarea']);
$textareaotherandrepair = iconv('UTF-8', 'windows-1252', $textareaotherandrepair);
Is there a way how I can fix this problem?
Comments
Post a Comment