Enter your HTML Entity Character number (such as ट or just 2335 – ट) to get the CSS and JS values for that entity. Explanations on how to use the results are below.
Numeric Value (Decimal) CSS Value (Hex) JS Value (Hex) (). | |
If you can’t find the entity you want, try
Notes:
The reason I always use encoded entities is because I have no clue how to use my keyboard to get the right letters. It’s faster for me to look up the letter from then it is for me to look up the keyboard sequence to display the same character. For the following sample, I pulled up the "character map" that came with my OS. You can include odd characters if you correctly set your content-Type to UTF-8. That is the setting for this page, which allows for the following code without HTML or JS encoding.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
alert ( 'aº¾ aº¿ â' á »Ÿ áº" U¹ '); try it
The question is, short of , how do you tell your external scripts to be served up in UTF-8? This is external and doesn’t work. I tried <script type="text/javascript" src="/articles/entitycalculator.js" charset="utf-8"></script>, but it doesn’t work.
.