JQuery does not display Hebrew

I use jQuery to validate the form. I have html on my head: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

I have utf-8 in my scripts:

 <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js" charset="utf-8"></script> <script type="text/javascript" src="validate.js" charset="utf-8"></script> 

My html page shows that Hebrew is just fine, as long as it does not contain jQuery code. Any Hebrew character printed via jQuery (via a script in validate.js) is output as:

Any help would be appreciated.

+7
source share
1 answer

Open all your html, css, js (all client files related to this project) using notepad and save them using utf-8 encoding. Please note that this may slightly change the Hebrew text and content. After that you should see Hebrew.

Good luck

+15
source

All Articles