问题描述
目前我正在寻找所有主要货币的html实体,我可以很容易地获得美元,欧元,加元,澳元和更多,但我很难获得所有其他国家的实体我保加利亚列弗(лв),中国人民币(¥),俄罗斯卢布(руб),UA阿联酋迪拉姆(د.إ)每次我在我的下拉菜单中输入时,他们都会以?签署,所以有没有办法解决它,是的,我使用正确的元字符集,只是试图让他们的html实体
谢谢
在UTF-8数据中显示为Characters的字符表示您使用的字符不是正确的UTF-8字符。
每次我在我的下拉菜单中输入时,他们都会以?签署,所以有没有办法解决它,是的,我使用正确的元字符集,只是试图让他们的html实体
谢谢
b
$ b
例如,将UTF-8字符粘贴到ISO-8859-1编码的HTML文件中时可能会发生这种情况(这可以通过在IDE中选择正确的编码或使用编辑器)。另一个常见原因是使用的数据库连接不是UTF-8。
如果你解决了这个问题,你应该没问题,不需要HTML实体。
Currently i am trying to look for the html entities for all the major currencies , i can easily get for USD , EURO , CAD, AUD and few more but i am having hard time getting entities for all other countries i have Bulgarian Lev (лв) , Chinese Renminbi (¥), Russian Ruble (руб), U.A. Emirates Dirhams (د.إ)
Everytime i enter them in my dropdown they are coming as ? sign , so is there any way around it and yes i am using correct meta charset, just trying to get html entities for them
Thanks
Characters showing up as � in UTF-8 data are an indication that the characters you're using are not proper UTF-8 ones.
This can happen when pasting UTF-8 characters into a HTML file that is ISO-8859-1 encoded, for example (this can be fixed by choosing the right encoding in the IDE or editor used). Another frequent reason is the use of a database connection that isn't UTF-8 all the way through.
If you fix that, you should be fine without needing HTML entities.
这篇关于获取所有主要货币的Html实体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!