I'm running into some issues tracking this one down, but there is at least 1 bug in the API regarding character encoding.
In Util/Entities.cs you need to replace the top ascTab declerations with this:
Code: Select all
ascTab.Clear();
ascTab.Add('>', ">");
ascTab.Add('<', "<");
ascTab.Add('&', "&");
ascTab.Add('\'', "'");
ascTab.Add('"', """);
The difference being using a char as key vs. a string. The code tried to lookup using a string with a single char in it = not the same, so the hashtable never changed character.
The issue I have now is that the 1.6.6 server throws an exception. Server 1.6.5 works fine with the above.
But no matter what - above is an error fix that is valid no matter what. Will be included in next bugfix release
Tracking down the other bugs now with utf-8 characters.
/Thomas