HTML 文件中的希伯来语文本

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7873290/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 11:13:29  来源:igfitidea点击:

Hebrew text in HTML files

htmlcharacter-encodinghebrew

提问by Naftuli Kay

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

我刚刚做了一个非常重要的排版会议,把东西放在希伯来语中名为 Tikkun Haklali 的特定祈祷中。这是这里jsfiddle.net。不幸的是,当我尝试将 HTML 和 CSS 保存到我的计算机时,我得到如下信息:

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?

是什么赋予了?字符编码?如果是这样,我应该将文本文件保存在什么位置?

回答by MarioRicalde

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

HTML 字符集编码:UTF-8。这样浏览器就会正确呈现它。

<meta charset="utf-8">

Place that right after <head>

紧随其后 <head>