如何以缅甸/缅甸语字体显示网站内容

SON*_*TER 6 css unicode html5 fonts localization

我有一个网站,用缅甸语为缅甸人民服务.问题是缅甸国家没有使用Unicode格式而是使用Zawgyi格式编码.我网站上的内容显示已损坏.我该如何解决这个问题.

在此输入图像描述

此错误仅在Iphone中出现

Nay*_*Dwe 1

您可以使用字体链接并使用 font-family 嵌入。所有字体都正确显示在任何设备或浏览器中,无需在其设备中放置或安装特定字体。如果您想检查另一个缅甸字体链接。您可以去那里https://mmwebfonts.comquas.com/#how-to-use

\n\n

\r\n
\r\n
<!DOCTYPE html>\r\n<html lang="en">\r\n<head>\r\n\t<meta charset="UTF-8">\r\n\t<title>Document</title>\r\n\t<link rel="stylesheet" href=\'https://mmwebfonts.comquas.com/fonts/?font=myanmar3\' />\r\n\t<link rel="stylesheet" href=\'https://mmwebfonts.comquas.com/fonts/?font=zawgyi\' />\t\r\n\t<style type="text/css">\r\n\t\t.zawgyi{\r\n\t\t\tfont-family:Zawgyi-One;\r\n\t\t}\r\n\t\t.unicode{\r\n\t\t\tfont-family:Myanmar3,Yunghkio,\'Masterpiece Uni Sans\';\r\n\t\t}\r\n\t</style>\r\n</head>\r\n<body>\r\n\t<h3>This is for ZawGyI font</h3>\r\n\t<p class="zawgyi">\r\n\t\t\xe1\x80\x9e\xe1\x80\x8a\xe1\x80\xb9\xe1\x80\x85\xe1\x80\xac\xe1\x80\x9e\xe1\x80\x8a\xe1\x80\xb9 \xe1\x80\xb1\xe1\x80\x87\xe1\x80\xac\xe1\x80\xb9\xe1\x80\x82\xe1\x80\xba\xe1\x80\xae \xe1\x80\xbb\xe1\x80\x96\xe1\x80\x84\xe1\x80\xb7\xe1\x80\xb9\xe1\x80\xb1\xe1\x80\x9b\xe1\x80\xb8\xe1\x80\xb1\xe1\x80\x9e\xe1\x80\xac\xe1\x80\x85\xe1\x80\xac\xe1\x80\xbb\xe1\x80\x96\xe1\x80\x85\xe1\x80\xb9\xe1\x80\x9e\xe1\x80\x8a\xe1\x80\xb9\r\n\t</p>\r\n\t<h3>This is for unicode (myanmar3) font</h3>\r\n\t<p class="unicode">\r\n\t\t\xe1\x80\x9e\xe1\x80\x8a\xe1\x80\xba\xe1\x80\x85\xe1\x80\xac\xe1\x80\x9e\xe1\x80\x8a\xe1\x80\xba unicode \xe1\x80\x96\xe1\x80\xbc\xe1\x80\x84\xe1\x80\xb7\xe1\x80\xba\xe1\x80\x9b\xe1\x80\xb1\xe1\x80\xb8\xe1\x80\x9e\xe1\x80\xb1\xe1\x80\xac\xe1\x80\x85\xe1\x80\xac\xe1\x80\x96\xe1\x80\xbc\xe1\x80\x85\xe1\x80\xba\xe1\x80\x9e\xe1\x80\x8a\xe1\x80\xba\r\n\t</p>\r\n</body>\r\n</html>
Run Code Online (Sandbox Code Playgroud)\r\n
\r\n
\r\n

\n