By the way, opening the piece overview shows the icons as expected. It's only on the board where everything looks like the Alaferie White King.
I fixed this. It was a matter garbage in, garbage out. Because of something to do with posting this in a comment, each ampersand was replaced with &. So, I added some code to replace amp; with an empty string before passing the data to fen2.cgi.
I fixed this. It was a matter garbage in, garbage out. Because of something to do with posting this in a comment, each ampersand was replaced with
&
. So, I added some code to replaceamp;
with an empty string before passing the data to fen2.cgi.