2

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 =)Menu

Joe
  • 443
  • 1
  • 4
  • 21

3 Answers3

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