drupal - can't save arabic in php variable? -
i really knew php .
i have been doing asp.net etc earlier , , php appears whole lot different.
i using drupal 7 , , project has been made.
i told trivial unable so. regarding arabic.
i declare simple variable $simpletext = "شهس "
. drupal_set_message($simpletext)
.
what see on web browser ???
instead of arabic . have confirmed content type of page set utf-8. meta tag of rendered html on browser
can please me identify how eradicate issue ?
thanks.
i completed many php projects (including drupal projects) , there nothing wrong php , arabic :) add html , should work fine
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
or using php before releasing output
header('content-type: text/html; charset=utf-8');
Comments
Post a Comment