I came across a service called CloudFlare the other day when I was investigating Content Delivery Networks (CDNs). They seem to, at the basic level, offer a high-performance, CDN for websites with no coding required, and also give you protection from Distributed Denial Of Service (DDOS) attacks. There is a paid model to use too, but the basic free service looks like something that many websites could benefit from.

I’m still trying out the service, but at first glance it seems to be pretty good. I’ve already got running with it and I’m hoping to move some over sites over in the next few days.

Classic ASP with UTF-8

I had a problem today with a very old Classic ASP page which wasn’t dealing with accented characters properly. A quick StackOverflow question came up with this:

Put the following ASP code in your page:

Response.ContentType = "text/html"
Response.AddHeader "Content-Type", "text/html;charset=UTF-8"
Response.CodePage = 65001
Response.CharSet = "UTF-8"

And make sure that the charset in the meta tag on the page also specifies UTF-8:

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />