I am trying to store some Arabic data in a mysql database I have set the html document charset to be \'utf8\'
Browsers will ignore the tag if there is a http header present. Try putting this at the top of your php page:
header("Content-Type: text/html; charset=UTF-8");