XMLRPC in ASP with UTF8

Recently I needed to call XMLRPC functions from an ASP server.
There is a nice XMLRPC library available from David Carter-Tod but I had a small problem with it.
It messed up the UTF8 encoding of my strings.
I’m sure that I’m not the only one with this problem, so here’s a simple solution:
Just add the following line at the beginning of the xmlrpc.asp file:

<%@ CodePage=65001 %>

Simple and effective 🙂

Related Posts