Hi, Tony
Good call -- charmap does indeed work.
The only caveat is that in a forum such as this, the character code might be rendered differently in different fonts.
For example, using Firefox, my default font is times new roman.
In that font, the cents symbol (alt-0162) looks like this: ¢
In Arial it looks like this: ¢
If I open charmap, and find the character at A2, (162 in hex) and copy it, I get:
¢, but If I switch charmap to Arial, and copy and past the same character it looks like this: ¢ -- you'll notice that it is rendered the same.
So whether you type the alt-code or use charmap, but your readers are using a different font, you cannot tell ahead of time what they see.
But what I did discover in the process of testing this is that you can use font tags to specify what fonts the forum uses. I have no idea what happens if you specify a font that is not available to the reader -- this could happen if you specify "wingdings" on a PC and a person using a Mac tries to read it.
Until today I only knew that courier new could be specified.
That is how Equilab manages to produce a nicely formatted display.
Board: Q♥7♣2♠
Equity Win Tie
MP2 91.62% 91.62% 0.00% { AA }
MP3 8.38% 8.38% 0.00% { KK }
The code for that is
[FONT=courier new][SIZE=12]
[b]Board: [/b]Q♥7♣2♠
[b] Equity Win Tie[/b]
[b]MP2 [/b] 91.62% 91.62% 0.00% { AA }
[b]MP3 [/b] 8.38% 8.38% 0.00% { KK }
[/SIZE][/FONT]
Incidentally the Equilab output is how I first discovered the non-breaking space trick.
I will try three fonts, and on the weekend I'll have a look at them on a Mac to see what happens:
I'll use 3 common windows fonts:
Verdana: The quick brown fox jumps over the lazy dog
Arial: The quick brown fox jumps over the lazy dog
Wingdings: The quick brown fox jumps over the lazy dog
Clearly wingdings does not work -- neither do a few others I tried..
I'll try to find out what fonts are supported.
Our headadmin Lazza found a resource on bbCode that may be useful.
The gist of it is that html has a limited number of fonts, so our choice of fonts is somewhat limited.
VS