如何使网站显示像“č”这样的标志和“ć” [英] How to make the website show signs like "č" and "ć"?

查看:318
本文介绍了如何使网站显示像“č”这样的标志和“ć”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个在克罗地亚的网站,我需要使用像č,ć,ž,đ和š这样的标志。它们当前显示为小盒子。



信息:




  • 我使用记事本+ +。

  • 我将编码设置为UTF-8。

  • 我将以下一行HTML放在: ; meta http-equiv =Content-typecontent =text / html; charset = utf-8/>



但是,它不工作。即使记事本++也不能使用UTF-8显示我的字符,所以建议我应该使用别的东西...

解决方案

http://webdesign.maratz.com/lab/utf_table/



使用HTML实体,例如




  • č:č / code>

  • ž:ž


I'm making a website that is in Croatian, and I need to use signs like: "č", "ć", "ž", "đ" and "š". They are currently displayed as little boxes.

Info:

  • I use Notepad ++.
  • I set the encoding there to UTF-8.
  • I put the following line of HTML in: <meta http-equiv="Content-type" content="text/html; charset=utf-8" />

However, it does not work. Even Notepad ++ can't display my characters using UTF-8, so that would suggest that I should probably use something else...

解决方案

http://webdesign.maratz.com/lab/utf_table/

Use HTML entities, for example

  • č : &#269;
  • ž : &#382;

这篇关于如何使网站显示像“č”这样的标志和“ć”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆