Danish characters in vcl_error.

Lars Jørgensen itlj at gyldendal.dk
Fri Mar 27 14:12:59 CET 2009


Hi,

I'm doing this:

sub vcl_error {
     set obj.http.Content-Type = "text/html; charset=utf-8";
     synthetic {"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
   <body>
     <h1>Vi arbejder på systemet </h1>
     <body>
</html>
"};
     return (deliver);

And getting this (omitting DOCTYPE for clarity):

<html>
  <body>
    <h1>Vi arbejder p�77777703�77777645 systemet </h1>
    body>
</html>

What am I doing wrong?


-- 
Lars Jørgensen




More information about the varnish-misc mailing list