Specifying an Encoding in HTML 

print "Content-type: text/html; charset=utf-8\n";
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  <title>Page Title</title>
</head>
<body>
...
AddDefaultCharset utf-8