Hebrew text in HTML files
Asked Answered
C

1

16

I just did a pretty major typesetting session putting things in order for a specific prayer in Hebrew named Tikkun Haklali. It's here on jsfiddle.net. Unfortunately, when I tried to save the HTML and CSS to my computer, I get something like this:

enter image description here

rather than something like this:

enter image description here

What gives? Character encoding? If so, what should I save my text file in?

Cuomo answered 24/10, 2011 at 9:2 Comment(1)
how are you saving it? I suggest firefox, and save as "web page, complete", and make sure you're using UTF-8 (go to View > Character Encoding > Unicode (UTF-8))Brioche
C
32

HTML Charset Encoding: UTF-8. That way the browser will render it correctly.

<meta charset="utf-8">

Place that right after <head>

Confute answered 24/10, 2011 at 9:3 Comment(1)
Is there any reason not to do this on every HTML document?Cuomo

© 2022 - 2024 — McMap. All rights reserved.