I'm trying to build an html document and for some reason Hebrew letters are not shown correctly. Instead, all I see are these question marks �����.
I can see Hebrew letters in other websites. The html document is local, meaning I open it from my desktop.
Any ideas?
Thanks =)
Asked
Active
Viewed 1,351 times
2

Joe
- 443
- 1
- 4
- 21
-
Where is your html code ? – Ivan Barayev May 12 '16 at 21:22
-
I think that the question is duplicated [http://stackoverflow.com/questions/7873290/hebrew-text-in-html-files](http://stackoverflow.com/questions/7873290/hebrew-text-in-html-files) – Dlanor May 12 '16 at 21:26
-
Maybe the answer is... @Ronald – Joe May 12 '16 at 21:39
3 Answers
5
Try the HTML Charset Encoding: UTF-8. That way the browser will render it correctly.
<meta charset="utf-8">
Place that right after <head>

Gregory R.
- 1,815
- 1
- 20
- 32
1
You need to tell the browser that your content is utf-8 encoded
. You can do that by adding one of the following meta tags
to the head
of your page:
<head>
<meta charset="utf-8" />
Or
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
In HTML5
, they are equivalent. Use the shorter one, it is easier to remember and type. Browser support is fine since it was designed for backwards compatibility.

Pedro Lobito
- 94,083
- 31
- 258
- 268
0
Ok, so I was reckless... I am working with Notepad++ and wasn't aware that the default encoding is ANSI. I changed it to UTF-8 and now it works fine. Thank you for your aid.

Joe
- 443
- 1
- 4
- 21