I checked a lot of questions, but I have no answer. I appreciate if you direct me on the right path.
I like to create a new character (and not a font or associated with any alphabet), for example, to create new language alphabets that can be recognized or translated in the browser as HTML code or javascript code.
In other words, assigning one custom character to multiple characters. (ex 1 ββch translates to 5 ch)
I assume that I need to make the font first and then assign this character. What programs do you offer or what is the best approach?
Edit: Best example: Create a new character, for example Β’ (cent), which has the entity name β and cent; and object number β and # 1 6 2;
Edit 2: Thank you all for your answers. I am trying to check your links and suggestions. As far as I understand, a browser compatibility issue may arise. So, how to make new characters in a text file stored on the server, and when the user views the file, javascript converts these characters to a word or other standard characters?
Edit3: Sorry for all the vague guys, you're all amazing. This example may clarify the situation.
create a new character that assigns "AB". So, one character that translates into two characters?
Edit4:
This is based on Jared's answer. This works for Z and P. Now, how do I add my own font to this file (replace Z and P with my own)? Assuming Z and P are my custom characters
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
[
<!ENTITY Z "AB">
<!ENTITY P "DE">
...
]>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Extending XHTML - Example 1</title>
</head>
<body>
<p>My symbols are &Z; and &P;</p>
</body>
</html>