The HTML Character Entity 𝕒
:
can be created from the number 120146 with this HTML code:
<!DOCTYPE html>
<html>
<style>
body {
font-size: 20px;
}
</style>
<body>
<p>I will display 𝕒</p>
</body>
</html>
Some of these extended character symbols can be created from the identical number value both in HTML and in Delphi 10.1.2. For example:
Both ®
and Chr(174)
create the "registered trademark" symbol character ®
Both £
and Chr(163)
create the "pound" symbol character £
Etc.
Unfortunately, this is not the case with the above number 120146 where Chr(120146)
in Delphi creates a "funny Chinese symbol".
So how can I create the above 𝕒
character symbol from the number 120146 in Delphi? And which is the numeric range where the above numeric equivalence between HTML and Delphi does work or does not work?