javascript - PHP alert message in persian language -


I have a delete page, I'm trying to get popup a warning message if a deleted operation was done Was, display I want to show a text message in the warning box in Persian (Persian) language, but this code is done but Persian characters do not display correctly. Please help me what should I do?

  echo & lt; Script & gt; '; Echo 'warning ("ØØ ° Ù ??");'; Echo 'location.href = "remove touristic 1 fpp' '; echo & lt; / script & gt;';    

I found my answer:

In each PHP output header as set UTF-8, specify UTF-8 as encoding: Header ('Content-type: text / html; charset = UTF-8');

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -