Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

Character set Windows-1252 not supporting '

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