7

I am using jQuery to validate a form. I have at my html's head: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

I have utf-8 on 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 Hebrew just fine as long as it's not though the jQuery code. Any Hebrew character printed trough the jQuery (through the script in validate.js) prints out as: ����

Any help would be appreciated.

Jivings
  • 22,834
  • 6
  • 60
  • 101
akrabi
  • 4,244
  • 2
  • 18
  • 19

1 Answers1

17

Open all your html, css, js (all client files that relevant to this project) using notepad and save them with utf-8 encoding. Notice that this might change the hebrew text and the content a little. After that you should see hebrew.

Good Luck!

Naor
  • 23,465
  • 48
  • 152
  • 268