Answer the question
In order to leave comments, you need to log in
Encoding issue (SOLVED)
I am writing a small project in PHP.
Set html encoding to UTF-8
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
static function e($str){
return htmlspecialchars($str, ENT_QUOTES, "UTF-8");
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question